Tools.h++ Manual
22-60 104011 Tandem Computers Incorporated
22
T* removeNext(RWBoolean
(*testFun)(T*, void*), void*);
Advances the iterator to the first element for which the tester function pointed
to by
testFun
returns
TRUE
, then removes and returns it. Afterwards, the
iterator will be positioned at the element immediately before the removed
element. Returns nil if unsuccessful in which case the position of the iterator is
undefined.
void reset();
Resets the iterator to the state it had immediately after construction.
void reset(RWTPtrSlist<T>& c);
Resets the iterator to iterate over the collection
c
.