33 #ifndef __H__UG__hash_iterator__
34 #define __H__UG__hash_iterator__
40 template <
class TKey,
class TValue,
class TEntry>
this iterator is used by the hash class to provide access to the elements of a given key
Definition: hash_iterator.h:42
hash_iterator this_type
Definition: hash_iterator.h:44
bool operator!=(const this_type &iter) const
Definition: hash_iterator.h:64
TValue value_type
Definition: hash_iterator.h:48
value_type & operator*()
Definition: hash_iterator.h:66
hash_iterator()
Definition: hash_iterator.h:56
size_t difference_type
Definition: hash_iterator.h:46
size_t m_entryInd
Definition: hash_iterator.h:95
std::forward_iterator_tag iterator_category
Definition: hash_iterator.h:45
const entry_t * m_entries
Definition: hash_iterator.h:94
TKey key_t
Definition: hash_iterator.h:51
TEntry entry_t
Definition: hash_iterator.h:53
void increment()
Definition: hash_iterator.h:78
TValue value_t
Definition: hash_iterator.h:52
static const size_t s_invalidIndex
marks an index as invalid
Definition: hash_iterator.h:91
this_type operator++()
Definition: hash_iterator.h:60
TValue & reference
Definition: hash_iterator.h:49
hash_iterator(const key_t &key, const entry_t *entries, size_t entryInd)
Definition: hash_iterator.h:57
TValue * pointer
Definition: hash_iterator.h:47
key_t m_key
Definition: hash_iterator.h:93
bool operator==(const this_type &iter) const
Definition: hash_iterator.h:63
bool equal(const this_type &other) const
Definition: hash_iterator.h:73