|
||
class TPtrHashSetIter : public THashTableIterBase;
A templated class which allows iteration over the elements of a RPtrHashSet<T> class.
The set being iterated over may not be modified while an iteration is in progress or the iteration operations may malfunction or panic.
THashTableIterBase
- No description.
TPtrHashSetIter
- A templated class which allows iteration over the elements of a RPtrHashSet<T...
Defined in TPtrHashSetIter
:
Current()const
Return the current position of the iterator.Next()
Steps the iterator to the next position.RemoveCurrent()
Removes the element at the current iterator position from the hash table. If the...Reset()
Reset the iterator to its initial state.TPtrHashSetIter(const RPtrHashSet< T > &)
Construct an iterator over the specified set. The iterator starts at conceptual ...inline TPtrHashSetIter(const RPtrHashSet< T > &aSet);
Construct an iterator over the specified set. The iterator starts at conceptual position one before the beginning of the list being iterated.
|
inline const T* Current() const;
Return the current position of the iterator.
|
inline const T* Next();
Steps the iterator to the next position.
|
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 TPtrHashSetIter::Current()const
on the iterator after calling Remove(TUint32 *,TUint32 *,TInt,TUint32)
- the only legal operations are TPtrHashSetIter::Reset()
and TPtrHashSetIter::Next()
.