BloombergLP::bslfmt::UnicodeCodePoint

Characterizes a Unicode code point as a set of integral attributes.

Synopsis

Declared in <bslfmt_unicodecodepoint.h>

class UnicodeCodePoint;

Description

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

Enums

NameDescription
UtfEncoding UTF encodings supported by UnicodeCodePoint.

Member Functions

NameDescription
UnicodeCodePoint [constructor]Create an uninitialized Unicode code point object
codePointValue Return the value of this code point.
codePointWidth Return the width of this code point.
extract Extract a code point into this object from an encoded byte stream.
isValid Return true if this object was successfully extracted and contains valid code point data, and false otherwise.
numSourceBytes Return how many source bytes encode this code point.
reset Reset this object to the default state.