#include <OgreIteratorWrappers.h>
Public Methods | |
MapIterator () | |
MapIterator (typename T::iterator start, typename T::iterator end) | |
Constructor. More... | |
bool | hasMoreElements (void) |
Returns true if there are more items in the collection. More... | |
T::mapped_type | getNext (void) |
Returns the next value element in the collection, and advances to the next. More... | |
T::mapped_type | peekNextValue (void) |
Returns the next value element in the collection, without advancing to the next. More... | |
T::key_type | peekNextKey (void) |
Returns the next key element in the collection, without advancing to the next. More... | |
MapIterator< T > & | operator= (MapIterator< T > &rhs) |
Required to overcome intermittent bug. More... | |
Private Attributes | |
T::iterator | mCurrent |
T::iterator | mEnd |
Note that like STL iterators, these iterators are only valid whilst no updates are made to the underlying collection. You should not attempt to use this iterator if a change is made to the collection. In fact, treat this iterator as a transient object, do NOT store it and try to use it repeatedly.
|
|
|
Constructor.
|
|
Returns the next value element in the collection, and advances to the next.
|
|
Returns true if there are more items in the collection.
|
|
Required to overcome intermittent bug.
|
|
Returns the next key element in the collection, without advancing to the next.
|
|
Returns the next value element in the collection, without advancing to the next.
|
|
|
|
|
Copyright © 2002 by The OGRE Team