Tools.h++ Manual
104011 Tandem Computers Incorporated 23-11
23
type
* remove();
Removes and returns the item at the current cursor position. Afterwards, the
iterator will be positioned at the previous item in the list.
type
* removeNext(
yourTester
t, const
type
*
d);
Moves the iterator to the next item for which the function pointed to by
t
finds
a "match" with
d
and removes and returns it. Returns nil if no match is found,
in which case the position of the iterator will be undefined.
type
* removeNextReference(const
type
*
a);
Moves the iterator to the next item with the address
e
and removes and returns
it. Returns nil if no match is found, in which case the position of the iterator
will be undefined.
void reset();
Resets the iterator to its initial state.
void toFirst();
Moves the iterator to the first item in the list.
void toLast();
Moves the iterator to the last item in the list.