#include <ucs4_iterator_base.hpp>
Public Types | |
typedef std::input_iterator_tag | iterator_category |
typedef char32_t | value_type |
typedef ptrdiff_t | difference_type |
typedef char32_t * | pointer |
typedef char32_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++ () |
char32_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 | |
char32_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 26 of file ucs4_iterator_base.hpp.
typedef ptrdiff_t ucs4::iterator_base< string_type, update_implementation >::difference_type |
Definition at line 31 of file ucs4_iterator_base.hpp.
typedef std::input_iterator_tag ucs4::iterator_base< string_type, update_implementation >::iterator_category |
Definition at line 29 of file ucs4_iterator_base.hpp.
typedef char32_t* ucs4::iterator_base< string_type, update_implementation >::pointer |
Definition at line 32 of file ucs4_iterator_base.hpp.
typedef char32_t& ucs4::iterator_base< string_type, update_implementation >::reference |
Definition at line 33 of file ucs4_iterator_base.hpp.
typedef char32_t ucs4::iterator_base< string_type, update_implementation >::value_type |
Definition at line 30 of file ucs4_iterator_base.hpp.
|
inline |
Definition at line 35 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 43 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::update().
|
inlinestatic |
Definition at line 51 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::iterator_base().
|
inlinestatic |
Definition at line 56 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::iterator_base().
Referenced by help::get_first_word(), utf8::lowercase(), and font::pango_line_ellipsize().
|
inline |
Definition at line 83 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.
|
inline |
Definition at line 66 of file ucs4_iterator_base.hpp.
|
inline |
Definition at line 78 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::current_char.
|
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 >::update().
|
inline |
Definition at line 61 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::current_substr.
|
inline |
Definition at line 90 of file ucs4_iterator_base.hpp.
References ucs4::iterator_base< string_type, update_implementation >::current_substr.
Referenced by utf8::lowercase(), and font::pango_line_ellipsize().
|
inlineprivate |
Definition at line 95 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 103 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 105 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 104 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().