Concrete IteratorWrapper for const access to the underlying container.
More...
#include <OgreIteratorWrapper.h>
|
| ConstVectorIterator (const T &c) |
| Constructor.
|
|
| ConstVectorIterator (typename T::const_iterator start, typename T::const_iterator last) |
| Constructor.
|
|
const T::const_iterator & | begin () |
| Bookmark to the begin of the underlying collection.
|
|
T::const_iterator & | current () |
| Full access to the current iterator.
|
|
const T::const_iterator & | end () |
| Bookmark to the end (one behind the last element) of the underlying collection.
|
|
ValueType | getNext () |
| Returns the next(=current) value element in the collection, and advances to the next.
|
|
bool | hasMoreElements () const |
| Returns true if there are more items in the collection.
|
|
void | moveNext () |
| Moves the iterator on one element.
|
|
ValueType | peekNext () const |
| Returns the next(=current) element in the collection, without advancing to the next.
|
|
PointerType | peekNextPtr () const |
| Returns a pointer to the next(=current) element in the collection, without advancing to the next afterwards.
|
|
template<typename T>
class Ogre::ConstVectorIterator< T >
Concrete IteratorWrapper for const access to the underlying container.
- Template Parameters
-
Definition at line 217 of file OgreIteratorWrapper.h.
◆ const_iterator
Typedef to fulfill container interface.
Useful if you want to use BOOST_FOREACH
- Note
- there is no distinction between const_iterator and iterator.
keep this in mind if you want to derivate from this class.
Definition at line 83 of file OgreIteratorWrapper.h.
◆ iterator
Typedef to fulfill container interface.
Useful if you want to use BOOST_FOREACH
- Note
- there is no distinction between const_iterator and iterator.
keep this in mind if you want to derivate from this class.
Definition at line 74 of file OgreIteratorWrapper.h.
◆ PointerType
◆ ValueType
◆ ConstVectorIterator() [1/2]
◆ ConstVectorIterator() [2/2]
◆ begin()
◆ current()
◆ end()
Bookmark to the end (one behind the last element) of the underlying collection.
Definition at line 117 of file OgreIteratorWrapper.h.
◆ getNext()
Returns the next(=current) value element in the collection, and advances to the next.
Definition at line 170 of file OgreIteratorWrapper.h.
◆ hasMoreElements()
◆ moveNext()
◆ peekNext()
Returns the next(=current) element in the collection, without advancing to the next.
Definition at line 158 of file OgreIteratorWrapper.h.
◆ peekNextPtr()
Returns a pointer to the next(=current) element in the collection, without advancing to the next afterwards.
Definition at line 164 of file OgreIteratorWrapper.h.
◆ mBegin
◆ mCurrent
◆ mEnd
The documentation for this class was generated from the following file: