#include <OgreIteratorWrappers.h>
Public Types | |
| typedef T::value_type | ValueType |
Public Member Functions | |
| VectorIterator (typename T::iterator start, typename T::iterator end) | |
| Constructor. | |
| VectorIterator (T &c) | |
| Constructor. | |
| bool | hasMoreElements (void) const |
| Returns true if there are more items in the collection. | |
| T::value_type | getNext (void) |
| Returns the next element in the collection, and advances to the next. | |
| T::value_type | peekNext (void) |
| Returns the next element in the collection, without advancing to the next. | |
| T::pointer | peekNextPtr (void) |
| Returns a pointer to the next element in the collection, without advancing to the next afterwards. | |
| void | moveNext (void) |
| Moves the iterator on one element. | |
Private Member Functions | |
| VectorIterator () | |
| Private constructor since only the parameterised constructor should be used. | |
Private Attributes | |
| T::iterator | mCurrent |
| T::iterator | mEnd |
Definition at line 51 of file OgreIteratorWrappers.h.
| typedef T::value_type Ogre::VectorIterator< T >::ValueType |
Definition at line 57 of file OgreIteratorWrappers.h.
| Ogre::VectorIterator< T >::VectorIterator | ( | ) | [private] |
Private constructor since only the parameterised constructor should be used.
Definition at line 57 of file OgreIteratorWrappers.h.
| Ogre::VectorIterator< T >::VectorIterator | ( | typename T::iterator | start, | |
| typename T::iterator | end | |||
| ) |
Constructor.
Definition at line 65 of file OgreIteratorWrappers.h.
| Ogre::VectorIterator< T >::VectorIterator | ( | T & | c | ) | [explicit] |
Constructor.
Definition at line 74 of file OgreIteratorWrappers.h.
| bool Ogre::VectorIterator< T >::hasMoreElements | ( | void | ) | const |
Returns true if there are more items in the collection.
Definition at line 80 of file OgreIteratorWrappers.h.
References Ogre::VectorIterator< T >::mCurrent, and Ogre::VectorIterator< T >::mEnd.
| T::value_type Ogre::VectorIterator< T >::getNext | ( | void | ) |
Returns the next element in the collection, and advances to the next.
Definition at line 86 of file OgreIteratorWrappers.h.
References Ogre::VectorIterator< T >::mCurrent.
| T::value_type Ogre::VectorIterator< T >::peekNext | ( | void | ) |
Returns the next element in the collection, without advancing to the next.
Definition at line 91 of file OgreIteratorWrappers.h.
References Ogre::VectorIterator< T >::mCurrent.
| T::pointer Ogre::VectorIterator< T >::peekNextPtr | ( | void | ) |
Returns a pointer to the next element in the collection, without advancing to the next afterwards.
Definition at line 96 of file OgreIteratorWrappers.h.
| void Ogre::VectorIterator< T >::moveNext | ( | void | ) |
Moves the iterator on one element.
Definition at line 101 of file OgreIteratorWrappers.h.
References Ogre::VectorIterator< T >::mCurrent.
T::iterator Ogre::VectorIterator< T >::mCurrent [private] |
Definition at line 54 of file OgreIteratorWrappers.h.
Referenced by Ogre::VectorIterator< T >::getNext(), Ogre::VectorIterator< T >::hasMoreElements(), Ogre::VectorIterator< T >::moveNext(), and Ogre::VectorIterator< T >::peekNext().
T::iterator Ogre::VectorIterator< T >::mEnd [private] |
Definition at line 55 of file OgreIteratorWrappers.h.
Referenced by Ogre::VectorIterator< T >::hasMoreElements().
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:50:12 2008