#include <linked.h>
Inheritance diagram for ucommon::objstack< T >:
Public Member Functions | |
void | add (T *object) |
Add an object onto the object stack. | |
objstack (T *list) | |
Create an object stack from a list of objects. | |
objstack () | |
Create a new object stack. | |
T * | pop (void) |
Pull (pop) an object from the object stack. | |
T * | pull (void) |
Pull an object from the object stack. | |
void | push (T *object) |
Push an object onto the object stack. |
The object type, T, that is contained in the stack must be derived from LinkedObject.
Definition at line 1152 of file linked.h.
void ucommon::objstack< T >::add | ( | T * | object | ) | [inline] |
T* ucommon::objstack< T >::pop | ( | void | ) | [inline] |
Pull (pop) an object from the object stack.
Reimplemented from ucommon::ObjectStack.
T* ucommon::objstack< T >::pull | ( | void | ) | [inline] |
Pull an object from the object stack.
Reimplemented from ucommon::ObjectStack.
void ucommon::objstack< T >::push | ( | T * | object | ) | [inline] |