#include <base_stack.hh>
Public Member Functions | ||||
| Stack (const uint preallocate=32) | ||||
| ||||
| ~Stack () | ||||
| void | Push (T obj) | |||
| T | Pop (void) | |||
| Pop last object pushed. CALLER MUST NOT POP IF STACK IS EMPTY!! | ||||
| bool | IfEmpty (void) const | |||
| uint | Cnt (void) const | |||
| ||||
| uint | size (void) const | |||
| STL compatibility. | ||||
| bool | empty (void) const | |||
| STL compatibility. | ||||
Private Attributes | ||||
| deque< T > | mDeque | |||
| base::Stack< T >::Stack | ( | const uint | preallocate = 32 |
) | [inline] |
| Optionally | reserve memory for the stack. |
| base::Stack< T >::~Stack | ( | ) | [inline] |
| void base::Stack< T >::Push | ( | T | obj | ) | [inline] |
| T base::Stack< T >::Pop | ( | void | ) | [inline] |
Pop last object pushed. CALLER MUST NOT POP IF STACK IS EMPTY!!
| bool base::Stack< T >::IfEmpty | ( | void | ) | const [inline] |
| uint base::Stack< T >::Cnt | ( | void | ) | const [inline] |
| uint base::Stack< T >::size | ( | void | ) | const [inline] |
STL compatibility.
| bool base::Stack< T >::empty | ( | void | ) | const [inline] |
STL compatibility.
deque<T> base::Stack< T >::mDeque [private] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:19 2007