u5e
UnicodeTextC++Library
|
Iterator that describes full graphemes. More...
#include <u5e/basic_grapheme_iterator.hpp>
Public Types | |
typedef UnderlyingEncodedStringView::const_iterator | const_codepoint_iterator |
typedef basic_grapheme< UnderlyingEncodedStringView > | grapheme |
typedef grapheme | value_type |
typedef props::grapheme_cluster_break::prop_value_type | g_c_b_vt |
Public Attributes | |
const_codepoint_iterator | begin_ |
const_codepoint_iterator | end_ |
const_codepoint_iterator | where_ |
const_codepoint_iterator | end_of_grapheme_ |
Iterator that describes full graphemes.
UnderlyingEncodedStringView | the underlying encoded string type with an underlying native string-like type. |
Definition at line 11 of file basic_encodedstring.hpp.
typedef UnderlyingEncodedStringView::const_iterator u5e::basic_grapheme_iterator< UnderlyingEncodedStringView >::const_codepoint_iterator |
The type of the underlying encoded iterator
Definition at line 22 of file basic_grapheme_iterator.hpp.
typedef basic_grapheme<UnderlyingEncodedStringView> u5e::basic_grapheme_iterator< UnderlyingEncodedStringView >::grapheme |
the specific grapheme type for this encoded string view
Definition at line 27 of file basic_grapheme_iterator.hpp.
|
inline |
Use the data from the unicode database to find the start and end of the current grapheme.
Definition at line 131 of file basic_grapheme_iterator.hpp.
|
inline |
Use the data from the unicode database to find the start and end of the current grapheme.
Definition at line 157 of file basic_grapheme_iterator.hpp.
|
inline |
The unicode standard documents that a grapheme boundary can be determined by looking just at two adjecent codepoints.
Definition at line 53 of file basic_grapheme_iterator.hpp.
|
inline |
delegate the comparison to the underlying iterator
Definition at line 285 of file basic_grapheme_iterator.hpp.
|
inline |
delegate the comparison to the underlying iterator
Definition at line 292 of file basic_grapheme_iterator.hpp.
|
inline |
dereference to a grapheme object
Definition at line 226 of file basic_grapheme_iterator.hpp.
|
inline |
advance one grapheme
Definition at line 234 of file basic_grapheme_iterator.hpp.
|
inline |
advance one grapheme
Definition at line 240 of file basic_grapheme_iterator.hpp.
|
inline |
delegate the comparison to the underlying iterator
Definition at line 250 of file basic_grapheme_iterator.hpp.
|
inline |
delegate the comparison to the underlying iterator
Definition at line 267 of file basic_grapheme_iterator.hpp.
const_codepoint_iterator u5e::basic_grapheme_iterator< UnderlyingEncodedStringView >::begin_ |
The begin and end iterators for the whole text are necessary for bounds check, since the size of graphemes cannot be predicted.
Definition at line 35 of file basic_grapheme_iterator.hpp.
const_codepoint_iterator u5e::basic_grapheme_iterator< UnderlyingEncodedStringView >::end_ |
The begin and end iterators for the whole text are necessary for bounds check, since the size of graphemes cannot be predicted.
Definition at line 36 of file basic_grapheme_iterator.hpp.
const_codepoint_iterator u5e::basic_grapheme_iterator< UnderlyingEncodedStringView >::end_of_grapheme_ |
This par of iterators point to where we are now and where the end of the current grapheme is.
Definition at line 44 of file basic_grapheme_iterator.hpp.
const_codepoint_iterator u5e::basic_grapheme_iterator< UnderlyingEncodedStringView >::where_ |
This par of iterators point to where we are now and where the end of the current grapheme is.
Definition at line 43 of file basic_grapheme_iterator.hpp.