Template for typesafe basic object stack container. More...
#include <linked.h>
Inherits ucommon::ObjectStack.
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. |
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 1152 of file linked.h.
void ucommon::objstack< T >::add | ( | T * | object | ) | [inline] |
T* ucommon::objstack< T >::pop | ( | void | ) | [inline] |
T* ucommon::objstack< T >::pull | ( | void | ) | [inline] |
void ucommon::objstack< T >::push | ( | T * | object | ) | [inline] |