#include <CATStack.h>
CATStack does not take any responsibility for object deletion. It is just a simple object stack.
Definition at line 25 of file CATStack.h.
Public Types | |
typedef void(* | CATSTACKENUMCB )(T &object, void *userParam) |
Public Member Functions | |
CATStack () | |
CATStack constructor. | |
CATStack (const CATStack &srcStack) | |
CATStack copy constructor. | |
virtual | ~CATStack () |
CATStack virtual destructor. | |
void | Clear () |
CATStack & | operator= (const CATStack &srcStack) |
Operator= override for copying stacks around. | |
CATResult | Push (T &object) |
CATResult | Pop (T &object) |
CATUInt32 | Size () const |
Size() returns the number of items in the list. | |
void | Enumerate (CATSTACKENUMCB enumCallback, void *userParam) |
Private Attributes | |
Node< T > * | fHead |
CATUInt32 | fSize |
Classes | |
class | Node |
Protected node class for CATStack. More... |