| Puma Reference Manual | Puma::Stack< Item > Class Template Reference |
#include <Stack.h>

Public Member Functions | |
| Stack (long is=8192, long incr=8192) | |
| void | push (Item f) |
| Item & | top () const |
| void | pop () |
| long | length () const |
| void | reset () |
Additional Inherited Members | |
Private Member Functions inherited from Puma::Array< Item > | |
| Array (long is=default_init_size, long incr=default_increment) | |
| Constructor. More... | |
| Array (const Array< Item > &array) | |
| Copy-constructor. More... | |
| Array< Item > & | operator= (const Array< Item > ©) |
| Assignment operator. More... | |
| ~Array () | |
| Destructor. More... | |
| void | append (const Item &item) |
| Append an item to the array. More... | |
| void | insert (long index, const Item &item) |
| Insert an item at the given array index. More... | |
| void | prepend (const Item &item) |
| Prepend an item. More... | |
| void | remove (long index) |
| Remove the array item at the given array index. More... | |
| void | reset () |
| Reset the array. More... | |
| Item & | get (long index) |
| Get a reference to the array item at the given array index. More... | |
| Item & | operator[] (long index) |
| Get a reference to the array item at the given array index. More... | |
| Item | fetch (long index) const |
| Get the array item at the given array index. More... | |
| Item & | lookup (long index) const |
| Get a reference to the array item at the given array index. More... | |
| long | length () const |
| Get the number of items in the array. More... | |
| template<> | |
| void | reset () |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |