OpenGUI::UTFString::_fwd_iterator Class Reference

#include <OpenGUI_String.h>

Inheritance diagram for OpenGUI::UTFString::_fwd_iterator:

OpenGUI::UTFString::_base_iterator List of all members.

Detailed Description

forward iterator for UTFString


Public Member Functions

_fwd_iteratoroperator++ ()
 pre-increment
_fwd_iterator operator++ (int)
 post-increment
_fwd_iteratoroperator-- ()
 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_iteratoroperator+= (size_type n)
 addition assignment operator
_fwd_iteratoroperator+= (difference_type n)
 addition assignment operator
_fwd_iteratoroperator-= (size_type n)
 subtraction assignment operator
_fwd_iteratoroperator-= (difference_type n)
 subtraction assignment operator
value_typeoperator * () const
 dereference operator
value_typeoperator[] (size_type n) const
 dereference at offset operator
value_typeoperator[] (difference_type n) const
 dereference at offset operator
_fwd_iteratormoveNext ()
 advances to the next Unicode character, honoring surrogate pairs in the UTF-16 stream
_fwd_iteratormovePrev ()
 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.


Member Function Documentation

unicode_char OpenGUI::UTFString::_fwd_iterator::getCharacter  )  const [inline]
 

Returns the Unicode value of the character at the current position (decodes surrogate pairs if needed).

_fwd_iterator& OpenGUI::UTFString::_fwd_iterator::moveNext  )  [inline]
 

advances to the next Unicode character, honoring surrogate pairs in the UTF-16 stream

_fwd_iterator& OpenGUI::UTFString::_fwd_iterator::movePrev  )  [inline]
 

rewinds to the previous Unicode character, honoring surrogate pairs in the UTF-16 stream

value_type& OpenGUI::UTFString::_fwd_iterator::operator *  )  const [inline]
 

dereference operator

_fwd_iterator OpenGUI::UTFString::_fwd_iterator::operator+ difference_type  n  )  [inline]
 

addition operator

_fwd_iterator OpenGUI::UTFString::_fwd_iterator::operator+ size_type  n  )  [inline]
 

addition operator

_fwd_iterator OpenGUI::UTFString::_fwd_iterator::operator++ int   )  [inline]
 

post-increment

_fwd_iterator& OpenGUI::UTFString::_fwd_iterator::operator++  )  [inline]
 

pre-increment

_fwd_iterator& OpenGUI::UTFString::_fwd_iterator::operator+= difference_type  n  )  [inline]
 

addition assignment operator

_fwd_iterator& OpenGUI::UTFString::_fwd_iterator::operator+= size_type  n  )  [inline]
 

addition assignment operator

_fwd_iterator OpenGUI::UTFString::_fwd_iterator::operator- difference_type  n  )  [inline]
 

subtraction operator

_fwd_iterator OpenGUI::UTFString::_fwd_iterator::operator- size_type  n  )  [inline]
 

subtraction operator

_fwd_iterator OpenGUI::UTFString::_fwd_iterator::operator-- int   )  [inline]
 

post-decrement

_fwd_iterator& OpenGUI::UTFString::_fwd_iterator::operator--  )  [inline]
 

pre-decrement

_fwd_iterator& OpenGUI::UTFString::_fwd_iterator::operator-= difference_type  n  )  [inline]
 

subtraction assignment operator

_fwd_iterator& OpenGUI::UTFString::_fwd_iterator::operator-= size_type  n  )  [inline]
 

subtraction assignment operator

value_type& OpenGUI::UTFString::_fwd_iterator::operator[] difference_type  n  )  const [inline]
 

dereference at offset operator

value_type& OpenGUI::UTFString::_fwd_iterator::operator[] size_type  n  )  const [inline]
 

dereference at offset operator

int OpenGUI::UTFString::_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.


The documentation for this class was generated from the following file:
Copyright © 2006 OpenGUI | OpenGUI.SF.net
Generated: Sun Sep 9 02:00:22 2007