dune-grid 2.9.0
|
#include <dune/grid/albertagrid/indexstack.hh>
Public Member Functions | |
IndexStack () | |
Constructor, create new IndexStack. More... | |
~IndexStack () | |
Destructor, deleting all stacks. More... | |
void | checkAndSetMax (T index) |
set index as maxIndex if index is bigger than maxIndex More... | |
void | setMaxIndex (T index) |
set index as maxIndex More... | |
int | getMaxIndex () const |
return maxIndex which is also the More... | |
int | size () const |
return maxIndex which is also the More... | |
T | getIndex () |
restore index from stack or create new index More... | |
void | freeIndex (T index) |
store index on stack More... | |
void | test () |
test stack functionality More... | |
void | backupIndexSet (std::ostream &os) |
void | restoreIndexSet (std::istream &is) |
IndexStack providing indices via getIndex and freeIndex indices that are freed, are put on a stack and get
|
inline |
Constructor, create new IndexStack.
|
inline |
Destructor, deleting all stacks.
|
inline |
|
inline |
set index as maxIndex if index is bigger than maxIndex
|
inline |
store index on stack
|
inline |
restore index from stack or create new index
|
inline |
return maxIndex which is also the
|
inline |
|
inline |
set index as maxIndex
|
inline |
return maxIndex which is also the
|
inline |
test stack functionality