Tools.h++ Class Reference

Table Of Contents
RWBoolean
isEmpty() const;
Returns TRUE if the stack is empty, otherwise FALSE.
size_t
occurrencesOf(yourTester t, const void* d) const;
Returns the number of items in the stack for which the user-provided function pointed to
by t finds a match with d.
size_t
occurrencesOfReference(const type* e) const;
Returns the number of items in the stack with the address e.
type*
pop();
Removes and returns the item at the top of the stack, or returns nil if the stack is empty.
void
push(type* a);
Adds an item to the top of the stack.
type*
top() const;
Returns the item at the top of the stack or nil if the stack is empty.