#include <ucs4_iterator_base.hpp>
Public Types | |
typedef std::input_iterator_tag | iterator_category |
typedef ucs4::char_t | value_type |
typedef ptrdiff_t | difference_type |
typedef ucs4::char_t * | pointer |
typedef ucs4::char_t & | reference |
Public Member Functions | |
iterator_base (const string_type &str) | |
iterator_base (typename string_type::const_iterator const &begin, typename string_type::const_iterator const &end) | |
bool | operator== (const iterator_base &a) const |
bool | operator!= (const iterator_base &a) const |
iterator_base & | operator++ () |
ucs4::char_t | operator* () const |
bool | next_is_end () const |
const std::pair< typename string_type::const_iterator, typename string_type::const_iterator > & | substr () const |
Static Public Member Functions | |
static iterator_base | begin (const string_type &str) |
static iterator_base | end (const string_type &str) |
Private Member Functions | |
void | update () |
Private Attributes | |
ucs4::char_t | current_char |
string_type::const_iterator | string_end |
std::pair< typename string_type::const_iterator, typename string_type::const_iterator > | current_substr |
Definition at line 14 of file ucs4_iterator_base.hpp.
typedef ptrdiff_t ucs4::iterator_base< string_type, update_implementation >::difference_type |
Definition at line 19 of file ucs4_iterator_base.hpp.
typedef std::input_iterator_tag ucs4::iterator_base< string_type, update_implementation >::iterator_category |
Definition at line 17 of file ucs4_iterator_base.hpp.
typedef ucs4::char_t* ucs4::iterator_base< string_type, update_implementation >::pointer |
Definition at line 20 of file ucs4_iterator_base.hpp.
typedef ucs4::char_t& ucs4::iterator_base< string_type, update_implementation >::reference |
Definition at line 21 of file ucs4_iterator_base.hpp.
typedef ucs4::char_t ucs4::iterator_base< string_type, update_implementation >::value_type |
Definition at line 18 of file ucs4_iterator_base.hpp.
|
inline |
Definition at line 23 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::update().
Referenced by ucs4::iterator_base< string_type, update_implementation >::begin(), and ucs4::iterator_base< string_type, update_implementation >::end().
|
inline |
Definition at line 31 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::update().
|
inlinestatic |
Definition at line 39 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::iterator_base().
|
inlinestatic |
Definition at line 44 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::iterator_base().
Referenced by font::cut_word(), help::get_first_word(), utf8::lowercase(), font::make_text_ellipsis(), split_text(), and font::word_wrap_text().
|
inline |
Definition at line 71 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::current_substr, and ucs4::iterator_base< string_type, update_implementation >::string_end.
Referenced by font::word_wrap_text().
|
inline |
Definition at line 54 of file ucs4_iterator_base.hpp.
|
inline |
Definition at line 66 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::current_char.
|
inline |
Definition at line 59 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::current_substr, and ucs4::iterator_base< string_type, update_implementation >::update().
|
inline |
Definition at line 49 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::current_substr.
|
inline |
Definition at line 78 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::current_substr.
Referenced by font::cut_word(), utf8::lowercase(), font::make_text_ellipsis(), split_text(), and font::word_wrap_text().
|
inlineprivate |
Definition at line 83 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::current_char, ucs4::iterator_base< string_type, update_implementation >::current_substr, read(), and ucs4::iterator_base< string_type, update_implementation >::string_end.
Referenced by ucs4::iterator_base< string_type, update_implementation >::iterator_base(), and ucs4::iterator_base< string_type, update_implementation >::operator++().
|
private |
Definition at line 91 of file ucs4_iterator_base.hpp.
Referenced by ucs4::iterator_base< string_type, update_implementation >::operator*(), and ucs4::iterator_base< string_type, update_implementation >::update().
|
private |
Definition at line 93 of file ucs4_iterator_base.hpp.
Referenced by ucs4::iterator_base< string_type, update_implementation >::next_is_end(), ucs4::iterator_base< string_type, update_implementation >::operator++(), ucs4::iterator_base< string_type, update_implementation >::operator==(), ucs4::iterator_base< string_type, update_implementation >::substr(), and ucs4::iterator_base< string_type, update_implementation >::update().
|
private |
Definition at line 92 of file ucs4_iterator_base.hpp.
Referenced by ucs4::iterator_base< string_type, update_implementation >::next_is_end(), and ucs4::iterator_base< string_type, update_implementation >::update().