OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Concrete IteratorWrapper for nonconst access to the underlying container. More...
#include <OgreIteratorWrapper.h>
Public Types | |
typedef IteratorType | const_iterator |
Typedef to fulfill container interface. | |
typedef IteratorType | iterator |
Typedef to fulfill container interface. | |
typedef IteratorWrapper< T, T::iterator, typenameT::value_type >::PointerType | PointerType |
typedef IteratorWrapper< T, T::iterator, typenameT::value_type >::ValueType | ValueType |
Public Member Functions | |
VectorIterator (T &c) | |
Constructor. | |
VectorIterator (typename T::iterator start, typename T::iterator last) | |
Constructor. | |
const IteratorType & | begin () |
Bookmark to the begin of the underlying collection. | |
IteratorType & | current () |
Full access to the current iterator. | |
const IteratorType & | 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. | |
Concrete IteratorWrapper for nonconst access to the underlying container.
T | Container |
|
inherited |
Typedef to fulfill container interface.
Useful if you want to use BOOST_FOREACH
|
inherited |
Typedef to fulfill container interface.
Useful if you want to use BOOST_FOREACH
|
inherited |
|
inherited |
|
inline |
Constructor.
|
inlineexplicit |
Constructor.
|
inlineinherited |
Bookmark to the begin of the underlying collection.
|
inlineinherited |
Full access to the current iterator.
|
inlineinherited |
Bookmark to the end (one behind the last element) of the underlying collection.
|
inlineinherited |
Returns the next(=current) value element in the collection, and advances to the next.
|
inlineinherited |
Returns true if there are more items in the collection.
|
inlineinherited |
Moves the iterator on one element.
|
inlineinherited |
Returns the next(=current) element in the collection, without advancing to the next.
|
inlineinherited |
Returns a pointer to the next(=current) element in the collection, without advancing to the next afterwards.