ezEngine  Milestone 7
ezIdTableBase< IdType, ValueType >::Iterator Struct Reference

Iterator with write access. More...

#include <IdTable.h>

Inheritance diagram for ezIdTableBase< IdType, ValueType >::Iterator:

Public Member Functions

ValueType & Value ()
 Returns the 'value' of the element that this iterator points to.
 
- Public Member Functions inherited from ezIdTableBase< IdType, ValueType >::ConstIterator
bool IsValid () const
 Checks whether this iterator points to a valid element.
 
bool operator== (const typename ezIdTableBase< IdType, ValueType >::ConstIterator &it2) const
 Checks whether the two iterators point to the same element.
 
bool operator!= (const typename ezIdTableBase< IdType, ValueType >::ConstIterator &it2) const
 Checks whether the two iterators point to the same element.
 
IdType Id () const
 Returns the 'id' of the element that this iterator points to.
 
const ValueType & Value () const
 Returns the 'value' of the element that this iterator points to.
 
void Next ()
 Advances the iterator to the next element in the map. The iterator will not be valid anymore, if the end is reached.
 
void operator++ ()
 Shorthand for 'Next'.
 

Private Member Functions

 Iterator (const ezIdTableBase< IdType, ValueType > &idTable)
 

Friends

class ezIdTableBase< IdType, ValueType >
 

Additional Inherited Members

- Protected Member Functions inherited from ezIdTableBase< IdType, ValueType >::ConstIterator
 ConstIterator (const ezIdTableBase< IdType, ValueType > &idTable)
 
- Protected Attributes inherited from ezIdTableBase< IdType, ValueType >::ConstIterator
const ezIdTableBase< IdType,
ValueType > & 
m_idTable
 
IndexType m_uiCurrentIndex
 
IndexType m_uiCurrentCount
 

Detailed Description

template<typename IdType, typename ValueType>
struct ezIdTableBase< IdType, ValueType >::Iterator

Iterator with write access.


The documentation for this struct was generated from the following files: