zeus::TStack< T > Class Template Reference
#include <Stack.hpp>
List of all members.
Detailed Description
template<class T>
class zeus::TStack< T >
Implementation of the abstract datatype of Pushdown-Stack
Constructor & Destructor Documentation
Creates an empty stack with a different empty item. The empty item is returned as error object
- Parameters:
-
| rEmptyItem | : new empty item |
Member Function Documentation
template<class T>
| void MQUALIFIER zeus::TStack< T >::copyToStack |
( |
IStack< T > & |
rStack |
) |
const [inline, virtual] |
template<class T>
| void MQUALIFIER zeus::TStack< T >::copyToList |
( |
IList< T > & |
rList |
) |
const [inline, virtual] |
template<class T>
| void MQUALIFIER zeus::TStack< T >::flush |
( |
|
) |
[inline, virtual] |
template<class T>
| Int MQUALIFIER zeus::TStack< T >::getCount |
( |
|
) |
const [inline, virtual] |
template<class T>
| bool MQUALIFIER zeus::TStack< T >::isEmpty |
( |
|
) |
const [inline, virtual] |
template<class T>
| void MQUALIFIER zeus::TStack< T >::push |
( |
const T & |
data |
) |
[inline, virtual] |
Copies a stack into an other stack
- Parameters:
-
| rStack | : Stack to copy from |
Copies a stack into an other stack
- Parameters:
-
| rStack | : Stack to copy from |
template<class T>
| T zeus::TStack< T >::getItem |
( |
Int |
iIndex |
) |
const [inline, protected] |
This returns the indexed value of the queue. Used internaly for coping stacks.
- Returns:
- Element: indexed value
The documentation for this class was generated from the following file: