SourcePro® 2024.1 |
SourcePro® API Reference Guide |
Const iterator for class RWSet, to allow sequential access to all elements of RWSet. More...
#include <rw/rwset.h>
Public Member Functions | |
RWSetConstIterator (const RWSet &h) | |
RWSetConstIterator (const RWSetIterator &it) | |
void | reset () |
Public Member Functions inherited from RWHashTableConstIterator | |
RWHashTableConstIterator (const RWHashTable &h) | |
RWHashTableConstIterator (const RWHashTableConstIterator &) | |
RWHashTableConstIterator (const RWHashTableIterator &it) | |
virtual const RWCollectable * | findNext (const RWCollectable *target) |
virtual const RWCollectable * | key () const |
virtual const RWCollectable * | operator() () |
One of two iterators for class RWSet. This const
iterator allows sequential access to all the elements of RWSet and prohibits any changes to the contents of the data structure.
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 a const
iterator for an RWSet. After construction, the position of the iterator is undefined.
|
inline |
Constructs a const
iterator from an iterator. After construction, the position of the const
iterator is undefined.
|
inlinevirtual |
Resets the iterator to the state it had immediately after construction.
Reimplemented from RWHashTableConstIterator.
Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |