OGRE-Next  3.0.0
Object-Oriented Graphics Rendering Engine
Ogre::MapIterator< T > Class Template Reference

Concrete IteratorWrapper for nonconst access to the underlying key-value container. More...

#include <OgreIteratorWrapper.h>

+ Inheritance diagram for Ogre::MapIterator< T >:

Public Member Functions

 MapIterator (T &c)
 Constructor. More...
 
 MapIterator (typename T::iterator start, typename T::iterator last)
 Constructor. More...
 
- Public Member Functions inherited from Ogre::MapIteratorWrapper< T, T::iterator >
 MapIteratorWrapper (T::iterator start, T::iterator last)
 Constructor. More...
 
ValueType getNext ()
 Returns the next(=current) value element in the collection, and advances to the next. More...
 
KeyType peekNextKey () const
 Returns the next(=current) key element in the collection, without advancing to the next. More...
 
ValueType peekNextValue () const
 Returns the next(=current) value element in the collection, without advancing to the next. More...
 
const PointerType peekNextValuePtr () const
 Returns a pointer to the next/current value element in the collection, without advancing to the next afterwards. More...
 
- Public Member Functions inherited from Ogre::IteratorWrapper< T, IteratorType, ValType >
 IteratorWrapper (IteratorType start, IteratorType last)
 Constructor. More...
 
const IteratorType & begin ()
 Bookmark to the begin of the underlying collection. More...
 
IteratorType & current ()
 Full access to the current iterator. More...
 
const IteratorType & end ()
 Bookmark to the end (one behind the last element) of the underlying collection. More...
 
bool hasMoreElements () const
 Returns true if there are more items in the collection. More...
 
void moveNext ()
 Moves the iterator on one element. More...
 

Additional Inherited Members

- Public Types inherited from Ogre::MapIteratorWrapper< T, T::iterator >
typedef T::key_type KeyType
 Type you expect to get by funktions like peekNextKey. More...
 
typedef T::value_type PairType
 Unused, just to make it clear that map/set::value_type is not a ValueType. More...
 
typedef IteratorWrapper< T, T::iterator, typename T::mapped_type >::PointerType PointerType
 Redefined PointerType for a map/set. More...
 
typedef IteratorWrapper< T, T::iterator, typename T::mapped_type >::ValueType ValueType
 Redefined ValueType for a map/set. More...
 
- Public Types inherited from Ogre::IteratorWrapper< T, IteratorType, ValType >
typedef IteratorType const_iterator
 Typedef to fulfill container interface. More...
 
typedef IteratorType iterator
 Typedef to fulfill container interface. More...
 
typedef ValType * PointerType
 Type you expect to get by funktions like peekNext(Value)Ptr. More...
 
typedef ValType ValueType
 Type you expect to get by funktions like peekNext(Value) More...
 

Detailed Description

template<typename T>
class Ogre::MapIterator< T >

Concrete IteratorWrapper for nonconst access to the underlying key-value container.

Remarks
Template key-value container

Constructor & Destructor Documentation

◆ MapIterator() [1/2]

template<typename T >
Ogre::MapIterator< T >::MapIterator ( typename T::iterator  start,
typename T::iterator  last 
)
inline

Constructor.

Remarks
Provide a start and end iterator to initialise.

◆ MapIterator() [2/2]

template<typename T >
Ogre::MapIterator< T >::MapIterator ( T &  c)
inlineexplicit

Constructor.

Remarks
Provide a container to initialise.

The documentation for this class was generated from the following file: