|
|
| unicode_description (unicode_description const &)=delete |
| |
|
unicode_description & | operator= (unicode_description const &)=delete |
| |
|
constexpr | unicode_description (unicode_description &&) noexcept=default |
| |
|
constexpr unicode_description & | operator= (unicode_description &&) noexcept=default |
| |
|
constexpr | unicode_description (char32_t code_point, unicode_general_category general_category, unicode_grapheme_cluster_break grapheme_cluster_break, unicode_line_break_class line_break_class, unicode_word_break_property word_break_property, unicode_sentence_break_property sentence_break_property, unicode_east_asian_width east_asian_width, unicode_script script, unicode_bidi_class bidi_class, unicode_bidi_bracket_type bidi_bracket_type, char32_t bidi_mirrored_glyph, unicode_decomposition_type decomposition_type, bool is_canonical_composition, uint8_t canonical_combining_class, uint8_t decomposition_length, uint32_t decomposition_index, uint16_t non_starter_code) noexcept |
| |
| constexpr char32_t | code_point () const noexcept |
| | The code point of the description.
|
| |
| constexpr unicode_general_category | general_category () const noexcept |
| | The general category of this code-point.
|
| |
| constexpr unicode_grapheme_cluster_break | grapheme_cluster_break () const noexcept |
| | The grapheme cluster break of this code-point.
|
| |
|
constexpr bool | is_canonical_composition () const noexcept |
| |
|
constexpr bool | is_combining_mark () const noexcept |
| |
|
constexpr unicode_line_break_class | line_break_class () const noexcept |
| |
|
constexpr unicode_word_break_property | word_break_property () const noexcept |
| |
|
constexpr unicode_sentence_break_property | sentence_break_property () const noexcept |
| |
|
constexpr unicode_east_asian_width | east_asian_width () const noexcept |
| |
| constexpr unicode_bidi_class | bidi_class () const noexcept |
| | The bidi class of this code-point This function is used by the bidirectional algorithm to figure out if the code-point represents a character that is written left-to-right or right-to-left.
|
| |
| constexpr unicode_script | script () const noexcept |
| | Get the script of this character.
|
| |
| constexpr unicode_bidi_bracket_type | bidi_bracket_type () const noexcept |
| | Get the bidi bracket type.
|
| |
| constexpr char32_t | bidi_mirrored_glyph () const noexcept |
| | Get the mirrored glyph.
|
| |
| constexpr unicode_decomposition_type | decomposition_type () const noexcept |
| | This character has a canonical decomposition.
|
| |
| constexpr uint8_t | canonical_combining_class () const noexcept |
| | Get the combining class.
|
| |
| constexpr std::size_t | decomposition_length () const noexcept |
| | The number of code-points the decomposed grapheme has.
|
| |
| constexpr std::size_t | decomposition_index () const noexcept |
| | A multi-use value representing the decomposition of this code-point.
|
| |
| constexpr char32_t | canonical_equivalent () const noexcept |
| | Get the canonical equivalent of this code-point.
|
| |
| constexpr size_t | non_starter_code () const noexcept |
| | Get the non-starter-code.
|
| |
|
|
bool | operator== (unicode_description const &lhs, unicode_general_category const &rhs) noexcept |
| |
|
bool | operator== (unicode_description const &lhs, unicode_decomposition_type const &rhs) noexcept |
| |
|
bool | operator== (unicode_description const &lhs, unicode_bidi_bracket_type const &rhs) noexcept |
| |
|
bool | operator== (unicode_description const &lhs, unicode_bidi_class const &rhs) noexcept |
| |
|
bool | operator== (unicode_description const &lhs, unicode_east_asian_width const &rhs) noexcept |
| |
|
bool | operator== (unicode_description const &lhs, unicode_sentence_break_property const &rhs) noexcept |
| |
|
bool | operator== (unicode_description const &lhs, unicode_line_break_class const &rhs) noexcept |
| |
|
bool | operator== (unicode_description const &lhs, unicode_word_break_property const &rhs) noexcept |
| |
|
bool | operator== (unicode_description const &lhs, unicode_grapheme_cluster_break const &rhs) noexcept |
| |
|
bool | operator== (unicode_description const &lhs, char32_t const &rhs) noexcept |
| |
|
bool | is_C (unicode_description const &rhs) noexcept |
| |
Description of a unicode code point.
This class holds information of a unicode code point.
The information is compressed to use bit-fields to reduce memory usage of the unicode database.
| constexpr unicode_general_category v1::unicode_description::general_category |
( |
| ) |
const |
|
inlineconstexprnoexcept |
The general category of this code-point.
This function is used to determine what kind of code-point this, this allows you to determine if the code-point is a letter, number, punctuation, white-space, etc.
- Returns
- The general category of this code-point