Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStack< T > Class Template Reference

CATStack< T > Class Template Reference
[Common Accessibility Technology [CAT] library]

#include <CATStack.h>

List of all members.


Detailed Description

template<class T>
class CATStack< T >

Defines a templated stack.

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 ()
CATStackoperator= (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...

The documentation for this class was generated from the following file:
Generated on Mon Feb 11 04:10:53 2008 for Game Accessibility Suite by doxygen 1.5.4