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