| Puma Reference Manual | Puma::PtrStack< T > Class Template Reference |
#include <PtrStack.h>

Public Member Functions | |
| PtrStack (long=8192, long=8192) | |
| virtual | ~PtrStack () |
| void | Push (const T *) |
| void | Pop () |
| T * | Top () const |
| long | Length () const |
| T * | Get (long) const |
| void | New () |
| void | Forget () |
| void | Reject () |
| void | Destroy () |
| long | Stacks () const |
| void | Reset () |
Protected Member Functions | |
| virtual void | Delete () |
| virtual void | Remove () |
Additional Inherited Members | |
Private Member Functions inherited from Puma::Array< T * > | |
| Array (long is=default_init_size, long incr=default_increment) | |
| Constructor. | |
| Array (const Array< T * > &array) | |
| Copy-constructor. | |
| Array< T * > & | operator= (const Array< T * > ©) |
| Assignment operator. | |
| ~Array () | |
| Destructor. | |
| void | append (const T *&item) |
| Append an item to the array. | |
| void | insert (long index, const T *&item) |
| Insert an item at the given array index. | |
| void | prepend (const T *&item) |
| Prepend an item. | |
| void | remove (long index) |
| Remove the array item at the given array index. | |
| void | reset () |
| Reset the array. | |
| T *& | get (long index) |
| Get a reference to the array item at the given array index. | |
| T *& | operator[] (long index) |
| Get a reference to the array item at the given array index. | |
| T * | fetch (long index) const |
| Get the array item at the given array index. | |
| T *& | lookup (long index) const |
| Get a reference to the array item at the given array index. | |
| long | length () const |
| Get the number of items in the array. | |
|
inline |
|
inlinevirtual |
|
inlineprotectedvirtual |
Reimplemented in Puma::Semantic, Puma::CCBuilder, Puma::Builder, Puma::CCSemantic, and Puma::CSemantic.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inline |