Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Ogre::UTFString::_rev_iterator Class Reference

forward iterator for UTFString More...

#include <OgreUTFString.h>

Inheritance diagram for Ogre::UTFString::_rev_iterator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 _rev_iterator ()
 _rev_iterator (const _rev_iterator &i)
_rev_iteratoroperator++ ()
 pre-increment
_rev_iterator operator++ (int)
 post-increment
_rev_iteratoroperator-- ()
 pre-decrement
_rev_iterator operator-- (int)
 post-decrement
_rev_iterator operator+ (size_type n)
 addition operator
_rev_iterator operator+ (difference_type n)
 addition operator
_rev_iterator operator- (size_type n)
 subtraction operator
_rev_iterator operator- (difference_type n)
 subtraction operator
_rev_iteratoroperator+= (size_type n)
 addition assignment operator
_rev_iteratoroperator+= (difference_type n)
 addition assignment operator
_rev_iteratoroperator-= (size_type n)
 subtraction assignment operator
_rev_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

Protected Member Functions

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

dstring::iterator mIter
UTFStringmString

Friends

class _const_rev_iterator

Detailed Description

forward iterator for UTFString

Definition at line 565 of file OgreUTFString.h.


Constructor & Destructor Documentation

Ogre::UTFString::_rev_iterator::_rev_iterator  ) 
 

Definition at line 568 of file OgreUTFString.h.

Ogre::UTFString::_rev_iterator::_rev_iterator const _rev_iterator i  ) 
 

Definition at line 569 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_become().


Member Function Documentation

void Ogre::UTFString::_base_iterator::_become const _base_iterator i  )  [protected, inherited]
 

Definition at line 220 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::mIter, and Ogre::UTFString::_base_iterator::mString.

Referenced by Ogre::UTFString::_const_fwd_iterator::_const_fwd_iterator(), Ogre::UTFString::_const_rev_iterator::_const_rev_iterator(), Ogre::UTFString::_fwd_iterator::_fwd_iterator(), and _rev_iterator().

size_type Ogre::UTFString::_base_iterator::_get_index  )  const [protected, inherited]
 

Definition at line 230 of file OgreUTFString.h.

References Ogre::UTFString::begin(), Ogre::UTFString::mData, Ogre::UTFString::_base_iterator::mIter, and Ogre::UTFString::_base_iterator::mString.

Referenced by Ogre::UTFString::_base_iterator::_getCharacter(), and Ogre::UTFString::_base_iterator::_setCharacter().

unicode_char Ogre::UTFString::_base_iterator::_getCharacter  )  const [protected, inherited]
 

Definition at line 237 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_get_index(), Ogre::UTFString::getChar(), and Ogre::UTFString::_base_iterator::mString.

Referenced by Ogre::UTFString::_const_fwd_iterator::getCharacter(), and Ogre::UTFString::_fwd_iterator::getCharacter().

void Ogre::UTFString::_base_iterator::_jump_to size_type  index  )  [protected, inherited]
 

Definition at line 233 of file OgreUTFString.h.

References Ogre::UTFString::begin(), Ogre::UTFString::mData, Ogre::UTFString::_base_iterator::mIter, and Ogre::UTFString::_base_iterator::mString.

Referenced by Ogre::UTFString::_base_iterator::_setCharacter().

void Ogre::UTFString::_base_iterator::_moveNext  )  [protected, inherited]
 

Definition at line 248 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekFwd(), Ogre::UTFString::_base_iterator::_test_end(), Ogre::UTFString::_utf16_surrogate_follow(), Ogre::UTFString::_utf16_surrogate_lead(), and Ogre::UTFString::_base_iterator::mIter.

Referenced by Ogre::UTFString::_const_fwd_iterator::moveNext(), and Ogre::UTFString::_fwd_iterator::moveNext().

void Ogre::UTFString::_base_iterator::_movePrev  )  [protected, inherited]
 

Definition at line 262 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekRev(), Ogre::UTFString::_base_iterator::_test_begin(), Ogre::UTFString::_utf16_surrogate_follow(), Ogre::UTFString::_utf16_surrogate_lead(), and Ogre::UTFString::_base_iterator::mIter.

Referenced by Ogre::UTFString::_const_fwd_iterator::movePrev(), and Ogre::UTFString::_fwd_iterator::movePrev().

void Ogre::UTFString::_base_iterator::_seekFwd size_type  c  )  [protected, inherited]
 

Definition at line 214 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::mIter.

Referenced by Ogre::UTFString::_base_iterator::_moveNext(), Ogre::UTFString::_const_rev_iterator::operator+(), operator+(), Ogre::UTFString::_const_fwd_iterator::operator+(), Ogre::UTFString::_fwd_iterator::operator+(), Ogre::UTFString::_const_fwd_iterator::operator++(), Ogre::UTFString::_fwd_iterator::operator++(), Ogre::UTFString::_const_rev_iterator::operator+=(), operator+=(), Ogre::UTFString::_const_fwd_iterator::operator+=(), Ogre::UTFString::_fwd_iterator::operator+=(), Ogre::UTFString::_const_rev_iterator::operator-(), operator-(), Ogre::UTFString::_const_fwd_iterator::operator-(), Ogre::UTFString::_fwd_iterator::operator-(), Ogre::UTFString::_const_rev_iterator::operator--(), operator--(), Ogre::UTFString::_const_rev_iterator::operator-=(), operator-=(), Ogre::UTFString::_const_fwd_iterator::operator-=(), and Ogre::UTFString::_fwd_iterator::operator-=().

void Ogre::UTFString::_base_iterator::_seekRev size_type  c  )  [protected, inherited]
 

Definition at line 217 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::mIter.

Referenced by Ogre::UTFString::_base_iterator::_movePrev(), Ogre::UTFString::_const_rev_iterator::operator+(), operator+(), Ogre::UTFString::_const_fwd_iterator::operator+(), Ogre::UTFString::_fwd_iterator::operator+(), Ogre::UTFString::_const_rev_iterator::operator++(), operator++(), Ogre::UTFString::_const_rev_iterator::operator+=(), operator+=(), Ogre::UTFString::_const_fwd_iterator::operator+=(), Ogre::UTFString::_fwd_iterator::operator+=(), Ogre::UTFString::_const_rev_iterator::operator-(), operator-(), Ogre::UTFString::_const_fwd_iterator::operator-(), Ogre::UTFString::_fwd_iterator::operator-(), Ogre::UTFString::_const_fwd_iterator::operator--(), Ogre::UTFString::_fwd_iterator::operator--(), Ogre::UTFString::_const_rev_iterator::operator-=(), operator-=(), Ogre::UTFString::_const_fwd_iterator::operator-=(), and Ogre::UTFString::_fwd_iterator::operator-=().

int Ogre::UTFString::_base_iterator::_setCharacter unicode_char  uc  )  [protected, inherited]
 

Definition at line 241 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_get_index(), Ogre::UTFString::_base_iterator::_jump_to(), Ogre::UTFString::_base_iterator::mString, and Ogre::UTFString::setChar().

Referenced by Ogre::UTFString::_fwd_iterator::setCharacter().

bool Ogre::UTFString::_base_iterator::_test_begin  )  const [protected, inherited]
 

Definition at line 224 of file OgreUTFString.h.

References Ogre::UTFString::begin(), Ogre::UTFString::mData, Ogre::UTFString::_base_iterator::mIter, and Ogre::UTFString::_base_iterator::mString.

Referenced by Ogre::UTFString::_base_iterator::_movePrev().

bool Ogre::UTFString::_base_iterator::_test_end  )  const [protected, inherited]
 

Definition at line 227 of file OgreUTFString.h.

References Ogre::UTFString::end(), Ogre::UTFString::mData, Ogre::UTFString::_base_iterator::mIter, and Ogre::UTFString::_base_iterator::mString.

Referenced by Ogre::UTFString::_base_iterator::_moveNext().

value_type& Ogre::UTFString::_rev_iterator::operator *  )  const
 

dereference operator

Definition at line 656 of file OgreUTFString.h.

_rev_iterator Ogre::UTFString::_rev_iterator::operator+ difference_type  n  ) 
 

addition operator

Definition at line 604 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekFwd(), and Ogre::UTFString::_base_iterator::_seekRev().

_rev_iterator Ogre::UTFString::_rev_iterator::operator+ size_type  n  ) 
 

addition operator

Definition at line 598 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekRev().

_rev_iterator Ogre::UTFString::_rev_iterator::operator++ int   ) 
 

post-increment

Definition at line 579 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekRev().

_rev_iterator& Ogre::UTFString::_rev_iterator::operator++  ) 
 

pre-increment

Definition at line 574 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekRev().

_rev_iterator& Ogre::UTFString::_rev_iterator::operator+= difference_type  n  ) 
 

addition assignment operator

Definition at line 634 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekFwd(), and Ogre::UTFString::_base_iterator::_seekRev().

_rev_iterator& Ogre::UTFString::_rev_iterator::operator+= size_type  n  ) 
 

addition assignment operator

Definition at line 629 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekRev().

_rev_iterator Ogre::UTFString::_rev_iterator::operator- difference_type  n  ) 
 

subtraction operator

Definition at line 619 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekFwd(), and Ogre::UTFString::_base_iterator::_seekRev().

_rev_iterator Ogre::UTFString::_rev_iterator::operator- size_type  n  ) 
 

subtraction operator

Definition at line 613 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekFwd().

_rev_iterator Ogre::UTFString::_rev_iterator::operator-- int   ) 
 

post-decrement

Definition at line 591 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekFwd().

_rev_iterator& Ogre::UTFString::_rev_iterator::operator--  ) 
 

pre-decrement

Definition at line 586 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekFwd().

_rev_iterator& Ogre::UTFString::_rev_iterator::operator-= difference_type  n  ) 
 

subtraction assignment operator

Definition at line 647 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekFwd(), and Ogre::UTFString::_base_iterator::_seekRev().

_rev_iterator& Ogre::UTFString::_rev_iterator::operator-= size_type  n  ) 
 

subtraction assignment operator

Definition at line 642 of file OgreUTFString.h.

References Ogre::UTFString::_base_iterator::_seekFwd().

value_type& Ogre::UTFString::_rev_iterator::operator[] difference_type  n  )  const
 

dereference at offset operator

Definition at line 667 of file OgreUTFString.h.

value_type& Ogre::UTFString::_rev_iterator::operator[] size_type  n  )  const
 

dereference at offset operator

Definition at line 661 of file OgreUTFString.h.


Friends And Related Function Documentation

friend class _const_rev_iterator [friend]
 

Definition at line 566 of file OgreUTFString.h.


Member Data Documentation

dstring::iterator Ogre::UTFString::_base_iterator::mIter [protected, inherited]
 

Definition at line 276 of file OgreUTFString.h.

Referenced by Ogre::UTFString::_base_iterator::_become(), Ogre::UTFString::_base_iterator::_get_index(), Ogre::UTFString::_base_iterator::_jump_to(), Ogre::UTFString::_base_iterator::_moveNext(), Ogre::UTFString::_base_iterator::_movePrev(), Ogre::UTFString::_base_iterator::_seekFwd(), Ogre::UTFString::_base_iterator::_seekRev(), Ogre::UTFString::_base_iterator::_test_begin(), Ogre::UTFString::_base_iterator::_test_end(), Ogre::UTFString::append(), Ogre::UTFString::assign(), Ogre::UTFString::begin(), Ogre::UTFString::end(), Ogre::UTFString::erase(), Ogre::UTFString::insert(), Ogre::UTFString::rbegin(), and Ogre::UTFString::rend().

UTFString* Ogre::UTFString::_base_iterator::mString [protected, inherited]
 

Definition at line 277 of file OgreUTFString.h.

Referenced by Ogre::UTFString::_base_iterator::_base_iterator(), Ogre::UTFString::_base_iterator::_become(), Ogre::UTFString::_base_iterator::_get_index(), Ogre::UTFString::_base_iterator::_getCharacter(), Ogre::UTFString::_base_iterator::_jump_to(), Ogre::UTFString::_base_iterator::_setCharacter(), Ogre::UTFString::_base_iterator::_test_begin(), Ogre::UTFString::_base_iterator::_test_end(), Ogre::UTFString::begin(), Ogre::UTFString::end(), Ogre::UTFString::erase(), Ogre::UTFString::insert(), Ogre::UTFString::rbegin(), and Ogre::UTFString::rend().


The documentation for this class was generated from the following file:

Copyright © 2000-2005 by The OGRE Team
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jun 10 10:41:13 2007