ezEngine  Milestone 7
ezHashTableBase< KeyType, ValueType, Hasher >::ConstIterator Class Reference

Const iterator. More...

#include <HashTable.h>

Inheritance diagram for ezHashTableBase< KeyType, ValueType, Hasher >::ConstIterator:

Public Member Functions

bool IsValid () const
 Checks whether this iterator points to a valid element.
 
bool operator== (const typename ezHashTableBase< KeyType, ValueType, Hasher >::ConstIterator &it2) const
 Checks whether the two iterators point to the same element.
 
bool operator!= (const typename ezHashTableBase< KeyType, ValueType, Hasher >::ConstIterator &it2) const
 Checks whether the two iterators point to the same element.
 
const KeyType & Key () const
 Returns the 'key' 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 ezHashTableBase< KeyType, ValueType, Hasher > &hashTable)
 

Protected Attributes

const ezHashTableBase< KeyType,
ValueType, Hasher > & 
m_hashTable
 
ezUInt32 m_uiCurrentIndex
 
ezUInt32 m_uiCurrentCount
 

Friends

class ezHashTableBase< KeyType, ValueType, Hasher >
 

Detailed Description

template<typename KeyType, typename ValueType, typename Hasher>
class ezHashTableBase< KeyType, ValueType, Hasher >::ConstIterator

Const iterator.


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