#include <OgreIteratorWrappers.h>
Public Methods | |
VectorIterator () | |
VectorIterator (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::value_type | getNext (void) |
Returns the next element in the collection, and advances to the next. More... | |
T::value_type | peekNext (void) |
Returns the next element in the collection, without advancing to the next. 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 element in the collection, and advances to the next.
|
|
Returns true if there are more items in the collection.
|
|
Returns the next element in the collection, without advancing to the next.
|
|
|
|
|
Copyright © 2002 by The OGRE Team