PStack Class Reference

Parameter List. More...

#include <PStack.h>

Collaboration diagram for PStack:

Collaboration graph
[legend]
List of all members.

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 PSElementPeekItem (unsigned int iAhead=0) const
const PSElementoperator[] (unsigned int iAhead) const
void Clear ()
unsigned int GetSize () const

Private Attributes

MVector< PSElementm_stack

Detailed Description

Parameter List.

Definition at line 78 of file PStack.h.


Constructor & Destructor Documentation

PStack::PStack (  )  [inline]

Definition at line 81 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.

PStack::PStack ( PSElement  p1,
PSElement  p2 
)

Definition at line 248 of file PStack.cpp.

PStack::PStack ( PSElement  p1,
PSElement  p2,
PSElement  p3 
)

Definition at line 254 of file PStack.cpp.

PStack::PStack ( PSElement  p1,
PSElement  p2,
PSElement  p3,
PSElement  p4 
)

Definition at line 261 of file PStack.cpp.

PStack::~PStack (  ) 

Definition at line 269 of file PStack.cpp.


Member Function Documentation

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]

Definition at line 95 of file PStack.h.

void PStack::Clear (  )  [inline]

Definition at line 96 of file PStack.h.

unsigned int PStack::GetSize (  )  const [inline]

Definition at line 98 of file PStack.h.


Member Data Documentation

MVector< PSElement > PStack::m_stack [private]

Definition at line 100 of file PStack.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo