Tools.h++ Manual

21-180 104011 Tandem Computers Incorporated
21
virtual RWCollectable* remove(const RWCollectable*);
Redefined from class
RWSlistCollectables
. Calls
pop()
. The argument is
ignored.
RWCollectable* pop();
Removes and returns the item at the top of the stack, or returns nil if the stack
is empty.
void push(RWCollectable*);
Adds an item to the top of the stack.
RWCollectable* top() const;
Returns the item at the top of the stack or nil if the stack is empty.