[PRIVATE]Characterizes a Unicode grapheme cluster.
Declared in <bslfmt_formatterstring.h>
class FormatterString_GraphemeCluster;
[PRIVATE]This private implementation class characterizes a grapheme cluster represented by a set of integral values. This class is private to this component and should not be used by clients.
| Name | Description |
|---|---|
FormatterString_GraphemeCluster [constructor] | Create an uninitialized cluster object (that is not valid). |
extract | Extract a grapheme cluster into this object from an encoded byte stream. |
firstCodePointValue | Return the value of the first code point in this cluster. |
firstCodePointWidth | Return the width of the first code point in this cluster. |
isValid | Return true if this object was successfully extracted and contains valid code point data, and false otherwise. |
numCodePoints | Return the number of code points this cluster contains. |
numSourceBytes | Return the number of bytes occupied by this cluster. |
reset | Reset this object to an uninitialized state. |