#include <indexstack.hh>
Public Member Functions | |
IndexStack () | |
Constructor, create new IndexStack. | |
~IndexStack () | |
Destructor, deleting all stacks. | |
void | checkAndSetMax (T index) |
set index as maxIndex if index is bigger than maxIndex | |
void | setMaxIndex (T index) |
set index as maxIndex | |
int | getMaxIndex () const |
return maxIndex which is also the | |
int | size () const |
return maxIndex which is also the | |
T | getIndex () |
restore index from stack or create new index | |
void | freeIndex (T index) |
store index on stack | |
void | test () |
test stack funtcionality |