59 #ifndef PointerStack_h 60 #define PointerStack_h 80 if ( topElement < lastSlot ) {
88 return (topElement >=0)
89 ? theStack[topElement--]
94 return (topElement >=0)
101 void *
Get(
unsigned int depth) {
103 if (topElement >= 0) {
104 return (depth <= (
unsigned int)topElement)
105 ? theStack[topElement - depth]
113 return (topElement + 1) ;
PointerStack(unsigned int initialSize=32)
void ExtendAndPush(void *item)
void * Get(unsigned int depth)