MyGUI
3.2.0
|
forward iterator for UString More...
#include <MyGUI_UString.h>
Public Member Functions | |
_fwd_iterator () | |
_fwd_iterator (const _fwd_iterator &i) | |
_fwd_iterator & | operator++ () |
pre-increment | |
_fwd_iterator | operator++ (int) |
post-increment | |
_fwd_iterator & | operator-- () |
pre-decrement | |
_fwd_iterator | operator-- (int) |
post-decrement | |
_fwd_iterator | operator+ (difference_type n) |
addition operator | |
_fwd_iterator | operator- (difference_type n) |
subtraction operator | |
_fwd_iterator & | operator+= (difference_type n) |
addition assignment operator | |
_fwd_iterator & | operator-= (difference_type n) |
subtraction assignment operator | |
value_type & | operator* () const |
dereference operator | |
value_type & | operator[] (difference_type n) const |
dereference at offset operator | |
_fwd_iterator & | moveNext () |
advances to the next Unicode character, honoring surrogate pairs in the UTF-16 stream | |
_fwd_iterator & | movePrev () |
rewinds to the previous Unicode character, honoring surrogate pairs in the UTF-16 stream | |
unicode_char | getCharacter () const |
Returns the Unicode value of the character at the current position (decodes surrogate pairs if needed) | |
int | setCharacter (unicode_char uc) |
Sets the Unicode value of the character at the current position (adding a surrogate pair if needed); returns the amount of string length change caused by the operation. | |
Friends | |
class | _const_fwd_iterator |
forward iterator for UString
Definition at line 244 of file MyGUI_UString.h.
Definition at line 118 of file MyGUI_UString.cpp.
Definition at line 123 of file MyGUI_UString.cpp.
Returns the Unicode value of the character at the current position (decodes surrogate pairs if needed)
Definition at line 216 of file MyGUI_UString.cpp.
advances to the next Unicode character, honoring surrogate pairs in the UTF-16 stream
Definition at line 204 of file MyGUI_UString.cpp.
rewinds to the previous Unicode character, honoring surrogate pairs in the UTF-16 stream
Definition at line 210 of file MyGUI_UString.cpp.
UString::value_type & MyGUI::UString::_fwd_iterator::operator* | ( | ) | const |
dereference operator
Definition at line 192 of file MyGUI_UString.cpp.
UString::_fwd_iterator MyGUI::UString::_fwd_iterator::operator+ | ( | difference_type | n | ) |
addition operator
Definition at line 154 of file MyGUI_UString.cpp.
UString::_fwd_iterator & MyGUI::UString::_fwd_iterator::operator++ | ( | ) |
pre-increment
Definition at line 128 of file MyGUI_UString.cpp.
UString::_fwd_iterator MyGUI::UString::_fwd_iterator::operator++ | ( | int | ) |
post-increment
Definition at line 134 of file MyGUI_UString.cpp.
UString::_fwd_iterator & MyGUI::UString::_fwd_iterator::operator+= | ( | difference_type | n | ) |
addition assignment operator
Definition at line 174 of file MyGUI_UString.cpp.
UString::_fwd_iterator MyGUI::UString::_fwd_iterator::operator- | ( | difference_type | n | ) |
subtraction operator
Definition at line 164 of file MyGUI_UString.cpp.
UString::_fwd_iterator & MyGUI::UString::_fwd_iterator::operator-- | ( | ) |
pre-decrement
Definition at line 141 of file MyGUI_UString.cpp.
UString::_fwd_iterator MyGUI::UString::_fwd_iterator::operator-- | ( | int | ) |
post-decrement
Definition at line 147 of file MyGUI_UString.cpp.
UString::_fwd_iterator & MyGUI::UString::_fwd_iterator::operator-= | ( | difference_type | n | ) |
subtraction assignment operator
Definition at line 183 of file MyGUI_UString.cpp.
UString::value_type & MyGUI::UString::_fwd_iterator::operator[] | ( | difference_type | n | ) | const |
dereference at offset operator
Definition at line 197 of file MyGUI_UString.cpp.
Sets the Unicode value of the character at the current position (adding a surrogate pair if needed); returns the amount of string length change caused by the operation.
Definition at line 221 of file MyGUI_UString.cpp.
friend class _const_fwd_iterator [friend] |
Definition at line 245 of file MyGUI_UString.h.