Prepared IteratorWrapper for container like std::vector.  
 More...
#include <OgreIteratorWrapper.h>
Prepared IteratorWrapper for container like std::vector. 
- Template Parameters
- 
  
    | T | = Container eg vector |  | IteratorType | T::iterator or T::const_iterator |  
 
Have a look at VectorIterator and ConstVectorIterator for a more concrete usage 
◆ 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.
 
 
◆ 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.
 
 
◆ PointerType
◆ ValueType
◆ VectorIteratorWrapper()
c'tor 
Constructor that provide a start and end iterator to initialise.
- Parameters
- 
  
    | start | Start iterator |  | last | End iterator |  
 
 
 
◆ begin()
Bookmark to the begin of the underlying collection. 
 
 
◆ current()
Full access to the current iterator. 
 
 
◆ end()
Bookmark to the end (one behind the last element) of the underlying collection. 
 
 
◆ getNext()
Returns the next(=current) value element in the collection, and advances to the next. 
 
 
◆ hasMoreElements()
Returns true if there are more items in the collection. 
 
 
◆ moveNext()
Moves the iterator on one element. 
 
 
◆ peekNext()
Returns the next(=current) element in the collection, without advancing to the next. 
 
 
◆ peekNextPtr()
Returns a pointer to the next(=current) element in the collection, without advancing to the next afterwards. 
 
 
The documentation for this class was generated from the following file: