|
||
class THashMapIter : public THashTableIterBase;
A templated class which allows iteration over the elements of a RHashMap<K,V> class.
The array being iterated over may not be modified while an iteration is in progress or the iteration operations may malfunction or panic.
THashTableIterBase
- No description.
THashMapIter
- A templated class which allows iteration over the elements of a RHashMap<K,V&...
Defined in THashMapIter
:
CurrentKey()const
Return the key corresponding to the current position of the iterator.CurrentValue()
Return the value corresponding to the current position of the iterator.NextKey()
Steps the iterator to the next position and returns the corresponding key.NextValue()
Steps the iterator to the next position and returns the corresponding value.RemoveCurrent()
Removes the element at the current iterator position from the hash table. If the...Reset()
Reset the iterator to its initial state.THashMapIter(const RHashMap< K, V > &)
Construct an iterator over the specified associative array. The iterator starts ...inline THashMapIter(const RHashMap< K, V > &aMap);
Construct an iterator over the specified associative array. The iterator starts at conceptual position one before the beginning of the list being iterated.
|
inline const K* CurrentKey() const;
Return the key corresponding to the current position of the iterator.
|
inline const K* NextKey();
Steps the iterator to the next position and returns the corresponding key.
|
inline V* CurrentValue();
Return the value corresponding to the current position of the iterator.
|
inline const V* NextValue();
Steps the iterator to the next position and returns the corresponding value.
|
inline void RemoveCurrent();
Removes the element at the current iterator position from the hash table. If the iterator does not currently point to a valid
element, no action is taken. Note that the iterator position is not altered so it no longer points to a valid element following
the Remove(TUint32 *,TUint32 *,TInt,TUint32)
. It is illegal to call either THashMapIter::CurrentKey()const
or THashMapIter::CurrentValue()
on the iterator after calling Remove(TUint32 *,TUint32 *,TInt,TUint32)
- the only legal operations are THashMapIter::Reset()
, THashMapIter::NextKey()
or THashMapIter::NextValue()
.