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+ (size_type n) |
addition operator | |
_fwd_iterator | operator+ (difference_type n) |
addition operator | |
_fwd_iterator | operator- (size_type n) |
subtraction operator | |
_fwd_iterator | operator- (difference_type n) |
subtraction operator | |
_fwd_iterator & | operator+= (size_type n) |
addition assignment operator | |
_fwd_iterator & | operator+= (difference_type n) |
addition assignment operator | |
_fwd_iterator & | operator-= (size_type n) |
subtraction assignment operator | |
_fwd_iterator & | operator-= (difference_type n) |
subtraction assignment operator | |
value_type & | operator* () const |
dereference operator | |
value_type & | operator[] (size_type n) const |
dereference at offset 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 307 of file MyGUI_UString.h.
MyGUI::UString::_fwd_iterator::_fwd_iterator | ( | ) | [inline] |
Definition at line 311 of file MyGUI_UString.h.
MyGUI::UString::_fwd_iterator::_fwd_iterator | ( | const _fwd_iterator & | i | ) | [inline] |
Definition at line 312 of file MyGUI_UString.h.
unicode_char MyGUI::UString::_fwd_iterator::getCharacter | ( | ) | const [inline] |
Returns the Unicode value of the character at the current position (decodes surrogate pairs if needed).
Definition at line 445 of file MyGUI_UString.h.
_fwd_iterator& MyGUI::UString::_fwd_iterator::moveNext | ( | ) | [inline] |
advances to the next Unicode character, honoring surrogate pairs in the UTF-16 stream
Definition at line 433 of file MyGUI_UString.h.
_fwd_iterator& MyGUI::UString::_fwd_iterator::movePrev | ( | ) | [inline] |
rewinds to the previous Unicode character, honoring surrogate pairs in the UTF-16 stream
Definition at line 439 of file MyGUI_UString.h.
value_type& MyGUI::UString::_fwd_iterator::operator* | ( | ) | const [inline] |
dereference operator
Definition at line 412 of file MyGUI_UString.h.
_fwd_iterator MyGUI::UString::_fwd_iterator::operator+ | ( | difference_type | n | ) | [inline] |
addition operator
Definition at line 353 of file MyGUI_UString.h.
_fwd_iterator MyGUI::UString::_fwd_iterator::operator+ | ( | size_type | n | ) | [inline] |
addition operator
Definition at line 346 of file MyGUI_UString.h.
_fwd_iterator MyGUI::UString::_fwd_iterator::operator++ | ( | int | ) | [inline] |
post-increment
Definition at line 324 of file MyGUI_UString.h.
_fwd_iterator& MyGUI::UString::_fwd_iterator::operator++ | ( | ) | [inline] |
pre-increment
Definition at line 318 of file MyGUI_UString.h.
_fwd_iterator& MyGUI::UString::_fwd_iterator::operator+= | ( | difference_type | n | ) | [inline] |
addition assignment operator
Definition at line 387 of file MyGUI_UString.h.
_fwd_iterator& MyGUI::UString::_fwd_iterator::operator+= | ( | size_type | n | ) | [inline] |
addition assignment operator
Definition at line 381 of file MyGUI_UString.h.
_fwd_iterator MyGUI::UString::_fwd_iterator::operator- | ( | difference_type | n | ) | [inline] |
subtraction operator
Definition at line 370 of file MyGUI_UString.h.
_fwd_iterator MyGUI::UString::_fwd_iterator::operator- | ( | size_type | n | ) | [inline] |
subtraction operator
Definition at line 363 of file MyGUI_UString.h.
_fwd_iterator MyGUI::UString::_fwd_iterator::operator-- | ( | int | ) | [inline] |
post-decrement
Definition at line 338 of file MyGUI_UString.h.
_fwd_iterator& MyGUI::UString::_fwd_iterator::operator-- | ( | ) | [inline] |
pre-decrement
Definition at line 332 of file MyGUI_UString.h.
_fwd_iterator& MyGUI::UString::_fwd_iterator::operator-= | ( | difference_type | n | ) | [inline] |
subtraction assignment operator
Definition at line 402 of file MyGUI_UString.h.
_fwd_iterator& MyGUI::UString::_fwd_iterator::operator-= | ( | size_type | n | ) | [inline] |
subtraction assignment operator
Definition at line 396 of file MyGUI_UString.h.
value_type& MyGUI::UString::_fwd_iterator::operator[] | ( | difference_type | n | ) | const [inline] |
dereference at offset operator
Definition at line 425 of file MyGUI_UString.h.
value_type& MyGUI::UString::_fwd_iterator::operator[] | ( | size_type | n | ) | const [inline] |
dereference at offset operator
Definition at line 418 of file MyGUI_UString.h.
int MyGUI::UString::_fwd_iterator::setCharacter | ( | unicode_char | uc | ) | [inline] |
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 450 of file MyGUI_UString.h.
friend class _const_fwd_iterator [friend] |
Definition at line 309 of file MyGUI_UString.h.