SourcePro® 2024.1 |
SourcePro® API Reference Guide |
Iterator for class RWSet, allowing sequential access to all the elements of RWSet. More...
#include <rw/rwset.h>
Public Member Functions | |
RWSetIterator (RWSet &h) | |
void | reset () |
Public Member Functions inherited from RWHashTableIterator | |
RWHashTableIterator (RWHashTable &h) | |
virtual RWCollectable * | findNext (const RWCollectable *target) |
virtual RWCollectable * | key () const |
virtual RWCollectable * | operator() () |
RWCollectable * | remove () |
RWCollectable * | removeNext (const RWCollectable *target) |
Iterator for class RWSet, which allows sequential access to all the elements of RWSet.
The "current item" is undefined immediately after construction. You must define it by using operator()() or some other (valid) operation.
Once the iterator has advanced beyond the end of the collection, it is no longer valid.
|
inline |
Constructs an iterator for an RWSet. After construction, the position of the iterator is undefined.
|
inlinevirtual |
Resets the iterator to the state it had immediately after construction.
Reimplemented from RWHashTableIterator.
Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |