The iterator type of Glib::ustring. More...
#include <glibmm/ustring.h>
The iterator type of Glib::ustring.
Note this is not a random access iterator but a bidirectional one, since all index operations need to iterate over the UTF-8 data. Use std::advance() to move to a certain position. However, all of the relational operators are available: == != < > <= >=
A writeable iterator isn't provided because: The number of bytes of the old UTF-8 character and the new one to write could be different. Therefore, any write operation would invalidate all other iterators pointing into the same string.
typedef std::string::difference_type Glib::ustring_Iterator< T >::difference_type |
typedef std::bidirectional_iterator_tag Glib::ustring_Iterator< T >::iterator_category |
typedef void Glib::ustring_Iterator< T >::pointer |
typedef value_type Glib::ustring_Iterator< T >::reference |
typedef gunichar Glib::ustring_Iterator< T >::value_type |
Glib::ustring_Iterator< T >::ustring_Iterator | ( | ) | [inline] |
Glib::ustring_Iterator< T >::ustring_Iterator | ( | const ustring_Iterator< std::string::iterator >& | other | ) | [inline] |
Glib::ustring_Iterator< T >::ustring_Iterator | ( | T | pos | ) | [inline, explicit] |
T Glib::ustring_Iterator< T >::base | ( | ) | const [inline] |
value_type Glib::ustring_Iterator< T >::operator* | ( | ) | const [inline] |
const ustring_Iterator<T> Glib::ustring_Iterator< T >::operator++ | ( | int | ) | [inline] |
ustring_Iterator<T>& Glib::ustring_Iterator< T >::operator++ | ( | ) | [inline] |
const ustring_Iterator<T> Glib::ustring_Iterator< T >::operator-- | ( | int | ) | [inline] |
ustring_Iterator<T>& Glib::ustring_Iterator< T >::operator-- | ( | ) | [inline] |
bool operator!= | ( | const Glib::ustring::const_iterator& | lhs, | |
const Glib::ustring::const_iterator& | rhs | |||
) | [related] |
bool operator< | ( | const Glib::ustring::const_iterator& | lhs, | |
const Glib::ustring::const_iterator& | rhs | |||
) | [related] |
bool operator<= | ( | const Glib::ustring::const_iterator& | lhs, | |
const Glib::ustring::const_iterator& | rhs | |||
) | [related] |
bool operator== | ( | const Glib::ustring::const_iterator& | lhs, | |
const Glib::ustring::const_iterator& | rhs | |||
) | [related] |
bool operator> | ( | const Glib::ustring::const_iterator& | lhs, | |
const Glib::ustring::const_iterator& | rhs | |||
) | [related] |
bool operator>= | ( | const Glib::ustring::const_iterator& | lhs, | |
const Glib::ustring::const_iterator& | rhs | |||
) | [related] |