#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. | |
MapIterator< T > & | operator= (MapIterator< 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 282 of file OgreIteratorWrappers.h.
|
Definition at line 291 of file OgreIteratorWrappers.h. |
|
Definition at line 288 of file OgreIteratorWrappers.h. |
|
Private constructor since only the parameterised constructor should be used.
Definition at line 288 of file OgreIteratorWrappers.h. |
|
Constructor.
Definition at line 297 of file OgreIteratorWrappers.h. |
|
Constructor.
Definition at line 306 of file OgreIteratorWrappers.h. |
|
Returns the next value element in the collection, and advances to the next.
Definition at line 318 of file OgreIteratorWrappers.h. References Ogre::ConstMapIterator< T >::mCurrent. |
|
Returns true if there are more items in the collection.
Definition at line 312 of file OgreIteratorWrappers.h. References Ogre::ConstMapIterator< T >::mCurrent, and Ogre::ConstMapIterator< T >::mEnd. |
|
Moves the iterator on one element.
Definition at line 346 of file OgreIteratorWrappers.h. References Ogre::ConstMapIterator< T >::mCurrent. |
|
Required to overcome intermittent bug.
Definition at line 333 of file OgreIteratorWrappers.h. References Ogre::MapIterator< T >::mCurrent, Ogre::ConstMapIterator< T >::mCurrent, Ogre::MapIterator< T >::mEnd, and Ogre::ConstMapIterator< T >::mEnd. |
|
Returns the next key element in the collection, without advancing to the next.
Definition at line 328 of file OgreIteratorWrappers.h. References Ogre::ConstMapIterator< T >::mCurrent. |
|
Returns the next value element in the collection, without advancing to the next.
Definition at line 323 of file OgreIteratorWrappers.h. References Ogre::ConstMapIterator< T >::mCurrent. |
|
Returns a pointer to the next value element in the collection, without advancing to the next afterwards.
Definition at line 341 of file OgreIteratorWrappers.h. References Ogre::ConstMapIterator< T >::mCurrent. |
|
|
Definition at line 286 of file OgreIteratorWrappers.h. Referenced by Ogre::ConstMapIterator< T >::hasMoreElements(), and Ogre::ConstMapIterator< T >::operator=(). |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jan 21 10:02:34 2007