#include <OgreIteratorWrappers.h>
Public Types | |
typedef T::value_type | ValueType |
Public Member Functions | |
ConstVectorIterator (typename T::const_iterator start, typename T::const_iterator end) | |
Constructor. | |
ConstVectorIterator (const 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) const |
Returns the next element in the collection, without advancing to the next. | |
T::const_pointer | peekNextPtr (void) const |
Returns a pointer to the next element in the collection, without advancing to the next afterwards. | |
void | moveNext (void) const |
Moves the iterator on one element. | |
Private Member Functions | |
ConstVectorIterator () | |
Private constructor since only the parameterised constructor should be used. | |
Private Attributes | |
T::const_iterator | mCurrent |
T::const_iterator | mEnd |
Definition at line 212 of file OgreIteratorWrappers.h.
typedef T::value_type Ogre::ConstVectorIterator< T >::ValueType |
Definition at line 218 of file OgreIteratorWrappers.h.
Ogre::ConstVectorIterator< T >::ConstVectorIterator | ( | ) | [private] |
Private constructor since only the parameterised constructor should be used.
Definition at line 218 of file OgreIteratorWrappers.h.
Ogre::ConstVectorIterator< T >::ConstVectorIterator | ( | typename T::const_iterator | start, | |
typename T::const_iterator | end | |||
) |
Constructor.
Definition at line 226 of file OgreIteratorWrappers.h.
Ogre::ConstVectorIterator< T >::ConstVectorIterator | ( | const T & | c | ) | [explicit] |
Constructor.
Definition at line 235 of file OgreIteratorWrappers.h.
bool Ogre::ConstVectorIterator< T >::hasMoreElements | ( | void | ) | const |
Returns true if there are more items in the collection.
Definition at line 241 of file OgreIteratorWrappers.h.
References Ogre::ConstVectorIterator< T >::mCurrent, and Ogre::ConstVectorIterator< T >::mEnd.
T::value_type Ogre::ConstVectorIterator< T >::getNext | ( | void | ) |
Returns the next element in the collection, and advances to the next.
Definition at line 247 of file OgreIteratorWrappers.h.
References Ogre::ConstVectorIterator< T >::mCurrent.
T::value_type Ogre::ConstVectorIterator< T >::peekNext | ( | void | ) | const |
Returns the next element in the collection, without advancing to the next.
Definition at line 252 of file OgreIteratorWrappers.h.
References Ogre::ConstVectorIterator< T >::mCurrent.
T::const_pointer Ogre::ConstVectorIterator< T >::peekNextPtr | ( | void | ) | const |
Returns a pointer to the next element in the collection, without advancing to the next afterwards.
Definition at line 257 of file OgreIteratorWrappers.h.
void Ogre::ConstVectorIterator< T >::moveNext | ( | void | ) | const |
Moves the iterator on one element.
Definition at line 262 of file OgreIteratorWrappers.h.
References Ogre::ConstVectorIterator< T >::mCurrent.
T::const_iterator Ogre::ConstVectorIterator< T >::mCurrent [mutable, private] |
Definition at line 215 of file OgreIteratorWrappers.h.
Referenced by Ogre::ConstVectorIterator< T >::getNext(), Ogre::ConstVectorIterator< T >::hasMoreElements(), Ogre::ConstVectorIterator< T >::moveNext(), and Ogre::ConstVectorIterator< T >::peekNext().
T::const_iterator Ogre::ConstVectorIterator< T >::mEnd [private] |
Definition at line 216 of file OgreIteratorWrappers.h.
Referenced by Ogre::ConstVectorIterator< T >::hasMoreElements().
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:03:51 2009