[#BloombergLP-bslfmt-UnicodeCodePoint]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::UnicodeCodePoint
:relfileprefix: ../../
:mrdocs:

Characterizes a Unicode code point as a set of integral attributes&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;unicodecodepoint&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class UnicodeCodePoint;
----

== Description

This simply constrained (value&hyphen;semantic) attribute class characterizes a Unicode code point represented by a set of integral values&period; This class is private to this package and should not be used by clients&period;

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/UnicodeCodePoint/UtfEncoding.adoc[`UtfEncoding`] 
| UTF encodings supported by `UnicodeCodePoint`&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/UnicodeCodePoint/2constructor.adoc[`UnicodeCodePoint`]         [.small]#[constructor]#
| Create an uninitialized Unicode code point object
| xref:BloombergLP/bslfmt/UnicodeCodePoint/codePointValue.adoc[`codePointValue`] 
| Return the value of this code point&period;
| xref:BloombergLP/bslfmt/UnicodeCodePoint/codePointWidth.adoc[`codePointWidth`] 
| Return the width of this code point&period;
| xref:BloombergLP/bslfmt/UnicodeCodePoint/extract.adoc[`extract`] 
| Extract a code point into this object from an encoded byte stream&period;
| xref:BloombergLP/bslfmt/UnicodeCodePoint/isValid.adoc[`isValid`] 
| Return `true` if this object was successfully extracted and contains valid code point data, and `false` otherwise&period;
| xref:BloombergLP/bslfmt/UnicodeCodePoint/numSourceBytes.adoc[`numSourceBytes`] 
| Return how many source bytes encode this code point&period;
| xref:BloombergLP/bslfmt/UnicodeCodePoint/reset.adoc[`reset`] 
| Reset this object to the default state&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
