MyGUI
3.2.1
|
const forward iterator for UString More...
#include <MyGUI_UString.h>
Public Member Functions | |
_const_fwd_iterator () | |
_const_fwd_iterator (const _const_fwd_iterator &i) | |
_const_fwd_iterator (const _fwd_iterator &i) | |
_const_fwd_iterator & | operator++ () |
pre-increment More... | |
_const_fwd_iterator | operator++ (int) |
post-increment More... | |
_const_fwd_iterator & | operator-- () |
pre-decrement More... | |
_const_fwd_iterator | operator-- (int) |
post-decrement More... | |
_const_fwd_iterator | operator+ (difference_type n) |
addition operator More... | |
_const_fwd_iterator | operator- (difference_type n) |
subtraction operator More... | |
_const_fwd_iterator & | operator+= (difference_type n) |
addition assignment operator More... | |
_const_fwd_iterator & | operator-= (difference_type n) |
subtraction assignment operator More... | |
const value_type & | operator* () const |
dereference operator More... | |
const value_type & | operator[] (difference_type n) const |
dereference at offset operator More... | |
_const_fwd_iterator & | moveNext () |
advances to the next Unicode character, honoring surrogate pairs in the UTF-16 stream More... | |
_const_fwd_iterator & | movePrev () |
rewinds to the previous Unicode character, honoring surrogate pairs in the UTF-16 stream More... | |
unicode_char | getCharacter () const |
Returns the Unicode value of the character at the current position (decodes surrogate pairs if needed) More... | |
Friends | |
size_type | operator- (const _const_fwd_iterator &left, const _const_fwd_iterator &right) |
difference operator More... | |
bool | operator== (const _const_fwd_iterator &left, const _const_fwd_iterator &right) |
equality operator More... | |
bool | operator!= (const _const_fwd_iterator &left, const _const_fwd_iterator &right) |
inequality operator More... | |
bool | operator< (const _const_fwd_iterator &left, const _const_fwd_iterator &right) |
less than More... | |
bool | operator<= (const _const_fwd_iterator &left, const _const_fwd_iterator &right) |
less than or equal More... | |
bool | operator> (const _const_fwd_iterator &left, const _const_fwd_iterator &right) |
greater than More... | |
bool | operator>= (const _const_fwd_iterator &left, const _const_fwd_iterator &right) |
greater than or equal More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MyGUI::UString::_base_iterator | |
_base_iterator () | |
void | _seekFwd (size_type c) |
void | _seekRev (size_type c) |
void | _become (const _base_iterator &i) |
bool | _test_begin () const |
bool | _test_end () const |
size_type | _get_index () const |
void | _jump_to (size_type index) |
unicode_char | _getCharacter () const |
int | _setCharacter (unicode_char uc) |
void | _moveNext () |
void | _movePrev () |
Protected Attributes inherited from MyGUI::UString::_base_iterator | |
dstring::iterator | mIter |
UString * | mString |
const forward iterator for UString
Definition at line 291 of file MyGUI_UString.h.
MyGUI::UString::_const_fwd_iterator::_const_fwd_iterator | ( | ) |
Definition at line 214 of file MyGUI_UString.cpp.
MyGUI::UString::_const_fwd_iterator::_const_fwd_iterator | ( | const _const_fwd_iterator & | i | ) |
Definition at line 219 of file MyGUI_UString.cpp.
MyGUI::UString::_const_fwd_iterator::_const_fwd_iterator | ( | const _fwd_iterator & | i | ) |
Definition at line 224 of file MyGUI_UString.cpp.
UString::unicode_char MyGUI::UString::_const_fwd_iterator::getCharacter | ( | ) | const |
Returns the Unicode value of the character at the current position (decodes surrogate pairs if needed)
Definition at line 317 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator & MyGUI::UString::_const_fwd_iterator::moveNext | ( | ) |
advances to the next Unicode character, honoring surrogate pairs in the UTF-16 stream
Definition at line 305 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator & MyGUI::UString::_const_fwd_iterator::movePrev | ( | ) |
rewinds to the previous Unicode character, honoring surrogate pairs in the UTF-16 stream
Definition at line 311 of file MyGUI_UString.cpp.
const UString::value_type & MyGUI::UString::_const_fwd_iterator::operator* | ( | ) | const |
dereference operator
Definition at line 293 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator MyGUI::UString::_const_fwd_iterator::operator+ | ( | difference_type | n | ) |
addition operator
Definition at line 255 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator & MyGUI::UString::_const_fwd_iterator::operator++ | ( | ) |
pre-increment
Definition at line 229 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator MyGUI::UString::_const_fwd_iterator::operator++ | ( | int | ) |
post-increment
Definition at line 235 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator & MyGUI::UString::_const_fwd_iterator::operator+= | ( | difference_type | n | ) |
addition assignment operator
Definition at line 275 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator MyGUI::UString::_const_fwd_iterator::operator- | ( | difference_type | n | ) |
subtraction operator
Definition at line 265 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator & MyGUI::UString::_const_fwd_iterator::operator-- | ( | ) |
pre-decrement
Definition at line 242 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator MyGUI::UString::_const_fwd_iterator::operator-- | ( | int | ) |
post-decrement
Definition at line 248 of file MyGUI_UString.cpp.
UString::_const_fwd_iterator & MyGUI::UString::_const_fwd_iterator::operator-= | ( | difference_type | n | ) |
subtraction assignment operator
Definition at line 284 of file MyGUI_UString.cpp.
const UString::value_type & MyGUI::UString::_const_fwd_iterator::operator[] | ( | difference_type | n | ) | const |
dereference at offset operator
Definition at line 298 of file MyGUI_UString.cpp.
|
friend |
inequality operator
Definition at line 1050 of file MyGUI_UString.h.
|
friend |
difference operator
Definition at line 1044 of file MyGUI_UString.h.
|
friend |
less than
Definition at line 1053 of file MyGUI_UString.h.
|
friend |
less than or equal
Definition at line 1056 of file MyGUI_UString.h.
|
friend |
equality operator
Definition at line 1047 of file MyGUI_UString.h.
|
friend |
greater than
Definition at line 1059 of file MyGUI_UString.h.
|
friend |
greater than or equal
Definition at line 1062 of file MyGUI_UString.h.