#include <OgreIteratorWrappers.h>
Public Types | |
typedef T::mapped_type | MappedType |
typedef T::key_type | KeyType |
Public Member Functions | |
ConstMapIterator (typename T::const_iterator start, typename T::const_iterator end) | |
Constructor. | |
ConstMapIterator (const T &c) | |
Constructor. | |
bool | hasMoreElements (void) const |
Returns true if there are more items in the collection. | |
T::mapped_type | getNext (void) |
Returns the next value element in the collection, and advances to the next. | |
T::mapped_type | peekNextValue (void) const |
Returns the next value element in the collection, without advancing to the next. | |
T::key_type | peekNextKey (void) const |
Returns the next key element in the collection, without advancing to the next. | |
ConstMapIterator< T > & | operator= (ConstMapIterator< T > &rhs) |
Required to overcome intermittent bug. | |
const T::mapped_type * | peekNextValuePtr (void) const |
Returns a pointer to the next value element in the collection, without advancing to the next afterwards. | |
void | moveNext (void) const |
Moves the iterator on one element. | |
Private Member Functions | |
ConstMapIterator () | |
Private constructor since only the parameterised constructor should be used. | |
Private Attributes | |
T::const_iterator | mCurrent |
T::const_iterator | mEnd |
Definition at line 286 of file OgreIteratorWrappers.h.
typedef T::mapped_type Ogre::ConstMapIterator< T >::MappedType |
Definition at line 292 of file OgreIteratorWrappers.h.
typedef T::key_type Ogre::ConstMapIterator< T >::KeyType |
Definition at line 295 of file OgreIteratorWrappers.h.
Ogre::ConstMapIterator< T >::ConstMapIterator | ( | ) | [private] |
Private constructor since only the parameterised constructor should be used.
Definition at line 292 of file OgreIteratorWrappers.h.
Ogre::ConstMapIterator< T >::ConstMapIterator | ( | typename T::const_iterator | start, | |
typename T::const_iterator | end | |||
) |
Constructor.
Definition at line 301 of file OgreIteratorWrappers.h.
Ogre::ConstMapIterator< T >::ConstMapIterator | ( | const T & | c | ) | [explicit] |
Constructor.
Definition at line 310 of file OgreIteratorWrappers.h.
bool Ogre::ConstMapIterator< T >::hasMoreElements | ( | void | ) | const |
Returns true if there are more items in the collection.
Definition at line 316 of file OgreIteratorWrappers.h.
References Ogre::ConstMapIterator< T >::mCurrent, and Ogre::ConstMapIterator< T >::mEnd.
T::mapped_type Ogre::ConstMapIterator< T >::getNext | ( | void | ) |
Returns the next value element in the collection, and advances to the next.
Definition at line 322 of file OgreIteratorWrappers.h.
References Ogre::ConstMapIterator< T >::mCurrent.
T::mapped_type Ogre::ConstMapIterator< T >::peekNextValue | ( | void | ) | const |
Returns the next value element in the collection, without advancing to the next.
Definition at line 327 of file OgreIteratorWrappers.h.
References Ogre::ConstMapIterator< T >::mCurrent.
T::key_type Ogre::ConstMapIterator< T >::peekNextKey | ( | void | ) | const |
Returns the next key element in the collection, without advancing to the next.
Definition at line 332 of file OgreIteratorWrappers.h.
References Ogre::ConstMapIterator< T >::mCurrent.
ConstMapIterator<T>& Ogre::ConstMapIterator< T >::operator= | ( | ConstMapIterator< T > & | rhs | ) |
Required to overcome intermittent bug.
Definition at line 337 of file OgreIteratorWrappers.h.
References Ogre::ConstMapIterator< T >::mCurrent, and Ogre::ConstMapIterator< T >::mEnd.
const T::mapped_type* Ogre::ConstMapIterator< T >::peekNextValuePtr | ( | void | ) | const |
Returns a pointer to the next value element in the collection, without advancing to the next afterwards.
Definition at line 345 of file OgreIteratorWrappers.h.
References Ogre::ConstMapIterator< T >::mCurrent.
void Ogre::ConstMapIterator< T >::moveNext | ( | void | ) | const |
Moves the iterator on one element.
Definition at line 350 of file OgreIteratorWrappers.h.
References Ogre::ConstMapIterator< T >::mCurrent.
T::const_iterator Ogre::ConstMapIterator< T >::mCurrent [mutable, private] |
Definition at line 289 of file OgreIteratorWrappers.h.
Referenced by Ogre::ConstMapIterator< T >::getNext(), Ogre::ConstMapIterator< T >::hasMoreElements(), Ogre::ConstMapIterator< T >::moveNext(), Ogre::ConstMapIterator< T >::operator=(), Ogre::ConstMapIterator< T >::peekNextKey(), Ogre::ConstMapIterator< T >::peekNextValue(), and Ogre::ConstMapIterator< T >::peekNextValuePtr().
T::const_iterator Ogre::ConstMapIterator< T >::mEnd [private] |
Definition at line 290 of file OgreIteratorWrappers.h.
Referenced by Ogre::ConstMapIterator< T >::hasMoreElements(), and Ogre::ConstMapIterator< T >::operator=().
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:03:51 2009