Concrete IteratorWrapper for nonconst access to the underlying container.
More...
#include <OgreIteratorWrapper.h>
|
| VectorIterator (T &c) |
| Constructor.
|
|
| VectorIterator (typename T::iterator start, typename T::iterator last) |
| Constructor.
|
|
const T::iterator & | begin () |
| Bookmark to the begin of the underlying collection.
|
|
T::iterator & | current () |
| Full access to the current iterator.
|
|
const T::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::VectorIterator< T >
Concrete IteratorWrapper for nonconst access to the underlying container.
- Template Parameters
-
Definition at line 186 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
◆ VectorIterator() [1/2]
◆ VectorIterator() [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: