Template for typesafe basic object stack container. More...
#include <linked.h>
Inherits ucc::ObjectStack.
Public Member Functions | |
void | add (T *object) |
Add an object onto the object stack. | |
objstack () | |
Create a new object stack. | |
objstack (T *list) | |
Create an object stack from a list of objects. | |
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. |
Template for typesafe basic object stack container.
The object type, T, that is contained in the stack must be derived from LinkedObject.
Definition at line 1132 of file linked.h.
void ucc::objstack< T >::add | ( | T * | object | ) | [inline] |
T* ucc::objstack< T >::pop | ( | void | ) | [inline] |
T* ucc::objstack< T >::pull | ( | void | ) | [inline] |
void ucc::objstack< T >::push | ( | T * | object | ) | [inline] |