#include <PStack.h>
Collaboration diagram for PStack:
Public Member Functions | |
PStack () | |
PStack (const char *sIn, int iMaxLength=32767) | |
PStack (PSElement p1) | |
PStack (PSElement p1, PSElement p2) | |
PStack (PSElement p1, PSElement p2, PSElement p3) | |
PStack (PSElement p1, PSElement p2, PSElement p3, PSElement p4) | |
~PStack () | |
void | PushItem (const PSElement &in) |
void | PushItemBack (const PSElement &in) |
bool | PopItem (PSElement &out) |
PSElement | PopItem () |
bool | PeekItem (PSElement &out) |
const PSElement & | PeekItem (unsigned int iAhead=0) const |
const PSElement & | operator[] (unsigned int iAhead) const |
void | Clear () |
unsigned int | GetSize () const |
Private Attributes | |
MVector< PSElement > | m_stack |
Definition at line 78 of file PStack.h.
PStack::PStack | ( | const char * | sIn, | |
int | iMaxLength = 32767 | |||
) |
Definition at line 163 of file PStack.cpp.
PStack::PStack | ( | PSElement | p1 | ) |
Definition at line 243 of file PStack.cpp.
Definition at line 248 of file PStack.cpp.
Definition at line 254 of file PStack.cpp.
Definition at line 261 of file PStack.cpp.
PStack::~PStack | ( | ) |
Definition at line 269 of file PStack.cpp.
void PStack::PushItem | ( | const PSElement & | in | ) |
Definition at line 273 of file PStack.cpp.
void PStack::PushItemBack | ( | const PSElement & | in | ) |
Definition at line 278 of file PStack.cpp.
bool PStack::PopItem | ( | PSElement & | out | ) |
Definition at line 283 of file PStack.cpp.
PSElement PStack::PopItem | ( | ) |
Definition at line 302 of file PStack.cpp.
bool PStack::PeekItem | ( | PSElement & | out | ) |
Definition at line 294 of file PStack.cpp.
const PSElement & PStack::PeekItem | ( | unsigned int | iAhead = 0 |
) | const |
Definition at line 311 of file PStack.cpp.
const PSElement& PStack::operator[] | ( | unsigned int | iAhead | ) | const [inline] |
MVector< PSElement > PStack::m_stack [private] |