Public Member Functions | |
ObjectStack (LinkedObject *list) | |
Create a stack from an existing list of objects. | |
ObjectStack () | |
Create an empty stack. | |
LinkedObject * | pop (void) |
Pop an object from the stack. | |
LinkedObject * | pull (void) |
Pull an object from the stack. | |
void | push (LinkedObject *object) |
Push an object onto the stack. | |
Protected Attributes | |
LinkedObject * | root |
Definition at line 927 of file linked.h.
ucommon::ObjectStack::ObjectStack | ( | LinkedObject * | list | ) |
Create a stack from an existing list of objects.
list | of already linked objects. |
LinkedObject* ucommon::ObjectStack::pop | ( | void | ) | [inline] |
Pop an object from the stack.
Reimplemented in ucommon::objstack< T >.
LinkedObject* ucommon::ObjectStack::pull | ( | void | ) |
Pull an object from the stack.
Reimplemented in ucommon::objstack< T >.
void ucommon::ObjectStack::push | ( | LinkedObject * | object | ) |
Push an object onto the stack.
object | to push. |