#include <XspfStack.h>
Public Types | |
typedef std::stack< T >::size_type | size_type |
Holds the height of the stack. | |
Public Member Functions | |
size_type | size () const |
T const & | top () const |
void | push (T const &value) |
void | pop () |
void | clear () |
Definition at line 60 of file XspfStack.h.
void clear | ( | ) | [inline] |
Clears the stack.
Definition at line 97 of file XspfStack.h.
void pop | ( | ) | [inline] |
Pops the topmost element off the stack.
Definition at line 90 of file XspfStack.h.
void push | ( | T const & | value | ) | [inline] |
Pushes value on top of the stack.
Definition at line 83 of file XspfStack.h.
size_type size | ( | ) | const [inline] |
Returns the number of elements on the stack.
Definition at line 69 of file XspfStack.h.
T const& top | ( | ) | const [inline] |
Returns the topmost element on the stack.
Definition at line 76 of file XspfStack.h.