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

Ogre::UTFString::_base_iterator Class Reference

base iterator class for UTFString More...

#include <OgreUTFString.h>

Inheritance diagram for Ogre::UTFString::_base_iterator:

Inheritance graph
[legend]
List of all members.

Protected Member Functions

 _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

dstring::iterator mIter
UTFStringmString

Friends

class UTFString

Detailed Description

base iterator class for UTFString

Definition at line 207 of file OgreUTFString.h.


Constructor & Destructor Documentation

Ogre::UTFString::_base_iterator::_base_iterator  )  [protected]
 

Definition at line 210 of file OgreUTFString.h.

References mString.


Member Function Documentation

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

Definition at line 220 of file OgreUTFString.h.

References mIter, and 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 Ogre::UTFString::_rev_iterator::_rev_iterator().

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

Definition at line 230 of file OgreUTFString.h.

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

Referenced by _getCharacter(), and _setCharacter().

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

Definition at line 237 of file OgreUTFString.h.

References _get_index(), Ogre::UTFString::getChar(), and 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]
 

Definition at line 233 of file OgreUTFString.h.

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

Referenced by _setCharacter().

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

Definition at line 248 of file OgreUTFString.h.

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

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

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

Definition at line 262 of file OgreUTFString.h.

References _seekRev(), _test_begin(), Ogre::UTFString::_utf16_surrogate_follow(), Ogre::UTFString::_utf16_surrogate_lead(), and 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]
 

Definition at line 214 of file OgreUTFString.h.

References mIter.

Referenced by _moveNext(), Ogre::UTFString::_const_rev_iterator::operator+(), Ogre::UTFString::_rev_iterator::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+=(), Ogre::UTFString::_rev_iterator::operator+=(), Ogre::UTFString::_const_fwd_iterator::operator+=(), Ogre::UTFString::_fwd_iterator::operator+=(), Ogre::UTFString::_const_rev_iterator::operator-(), Ogre::UTFString::_rev_iterator::operator-(), Ogre::UTFString::_const_fwd_iterator::operator-(), Ogre::UTFString::_fwd_iterator::operator-(), Ogre::UTFString::_const_rev_iterator::operator--(), Ogre::UTFString::_rev_iterator::operator--(), Ogre::UTFString::_const_rev_iterator::operator-=(), Ogre::UTFString::_rev_iterator::operator-=(), Ogre::UTFString::_const_fwd_iterator::operator-=(), and Ogre::UTFString::_fwd_iterator::operator-=().

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

Definition at line 217 of file OgreUTFString.h.

References mIter.

Referenced by _movePrev(), Ogre::UTFString::_const_rev_iterator::operator+(), Ogre::UTFString::_rev_iterator::operator+(), Ogre::UTFString::_const_fwd_iterator::operator+(), Ogre::UTFString::_fwd_iterator::operator+(), Ogre::UTFString::_const_rev_iterator::operator++(), Ogre::UTFString::_rev_iterator::operator++(), Ogre::UTFString::_const_rev_iterator::operator+=(), Ogre::UTFString::_rev_iterator::operator+=(), Ogre::UTFString::_const_fwd_iterator::operator+=(), Ogre::UTFString::_fwd_iterator::operator+=(), Ogre::UTFString::_const_rev_iterator::operator-(), Ogre::UTFString::_rev_iterator::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-=(), Ogre::UTFString::_rev_iterator::operator-=(), Ogre::UTFString::_const_fwd_iterator::operator-=(), and Ogre::UTFString::_fwd_iterator::operator-=().

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

Definition at line 241 of file OgreUTFString.h.

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

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

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

Definition at line 224 of file OgreUTFString.h.

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

Referenced by _movePrev().

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

Definition at line 227 of file OgreUTFString.h.

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

Referenced by _moveNext().


Friends And Related Function Documentation

friend class UTFString [friend]
 

Definition at line 208 of file OgreUTFString.h.


Member Data Documentation

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

Definition at line 276 of file OgreUTFString.h.

Referenced by _become(), _get_index(), _jump_to(), _moveNext(), _movePrev(), _seekFwd(), _seekRev(), _test_begin(), _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]
 

Definition at line 277 of file OgreUTFString.h.

Referenced by _base_iterator(), _become(), _get_index(), _getCharacter(), _jump_to(), _setCharacter(), _test_begin(), _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 Jul 8 15:25:45 2007