Tools.h++ Class Reference

Table Of Contents
Persistence
None
Example
See class RWGDlist(type)
Public Constructor
RWGDlistIterator(type)( RWGDlist(type)& list);
Construct an iterator for the RWGDlist(type) list. Immediately after construction, the
position of the iterator is undefined.
Public Member Operators
type*
operator()();
Advances the iterator to the next item and returns it. Returns nil if at the end of the
collection.
void
operator++();
Advances the iterator one item.
void
operator--();
Moves the iterator back one item.
void
operator+=(size_t n);
Advances the iterator n items.
void
operator-=(size_t n);
Moves the iterator back n items.
Public Member Functions
RWBoolean
atFirst() const;
Returns TRUE if the iterator is at the start of the list, FALSE otherwise;
RWBoolean