ezEngine  Release 25.03
ezIdTableBase< IdType, ValueType >::ConstIterator Class Reference

Const iterator. More...

#include <IdTable.h>

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

Public Member Functions

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'.
 

Protected Member Functions

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

Protected Attributes

const ezIdTableBase< IdType, ValueType > & m_IdTable
 
IndexType m_CurrentIndex
 
IndexType m_CurrentCount
 

Friends

class ezIdTableBase< IdType, ValueType >
 

Detailed Description

template<typename IdType, typename ValueType>
class ezIdTableBase< IdType, ValueType >::ConstIterator

Const iterator.


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