#include <OgreIteratorWrappers.h>
Public Types | |
typedef T::mapped_type | MappedType |
typedef T::key_type | KeyType |
Public Member Functions | |
MapIterator (typename T::iterator start, typename T::iterator end) | |
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) |
Returns the next value element in the collection, without advancing to the next. | |
T::key_type | peekNextKey (void) |
Returns the next key element in the collection, without advancing to the next. | |
MapIterator< T > & | operator= (MapIterator< T > &rhs) |
Required to overcome intermittent bug. | |
T::pointer | peekNextValuePtr (void) |
Returns a pointer to the next value element in the collection, without advancing to the next afterwards. | |
void | moveNext (void) |
Moves the iterator on one element. | |
Private Member Functions | |
MapIterator () | |
Private constructor since only the parameterised constructor should be used. | |
Private Attributes | |
T::iterator | mCurrent |
T::iterator | mEnd |
Definition at line 112 of file OgreIteratorWrappers.h.
|
Definition at line 121 of file OgreIteratorWrappers.h. |
|
Definition at line 120 of file OgreIteratorWrappers.h. |
|
Private constructor since only the parameterised constructor should be used.
Definition at line 118 of file OgreIteratorWrappers.h. |
|
Constructor.
Definition at line 127 of file OgreIteratorWrappers.h. |
|
Returns the next value element in the collection, and advances to the next.
Definition at line 139 of file OgreIteratorWrappers.h. |
|
Returns true if there are more items in the collection.
Definition at line 133 of file OgreIteratorWrappers.h. |
|
Moves the iterator on one element.
Definition at line 167 of file OgreIteratorWrappers.h. |
|
Required to overcome intermittent bug.
Definition at line 154 of file OgreIteratorWrappers.h. References Ogre::MapIterator< T >::mCurrent, and Ogre::MapIterator< T >::mEnd. |
|
Returns the next key element in the collection, without advancing to the next.
Definition at line 149 of file OgreIteratorWrappers.h. |
|
Returns the next value element in the collection, without advancing to the next.
Definition at line 144 of file OgreIteratorWrappers.h. |
|
Returns a pointer to the next value element in the collection, without advancing to the next afterwards.
Definition at line 162 of file OgreIteratorWrappers.h. |
|
Definition at line 115 of file OgreIteratorWrappers.h. Referenced by Ogre::ConstMapIterator< T >::operator=(), and Ogre::MapIterator< T >::operator=(). |
|
Definition at line 116 of file OgreIteratorWrappers.h. Referenced by Ogre::ConstMapIterator< T >::operator=(), and Ogre::MapIterator< 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 Mar 12 14:39:27 2006