79 void add(
int n,
const int* i)
101 void setMax(
int newmax = 1);
virtual ~DIdxSet()
destructor.
DIdxSet & operator=(const DIdxSet &sv)
assignment operator from DIdxSet
void add(int n, const int *i)
adds n indices from i.
void addIdx(int i)
adds index i to the index set
DIdxSet & operator=(const IdxSet &sv)
assignment operator from IdxSet
void add(int n)
adds n uninitialized indices.
DIdxSet(int n=8)
default constructor. n gives the initial size of the index space.
void add(const IdxSet &sv)
adds all indices from sv.
void setMax(int newmax=1)
sets the maximum number of indices.
void addIdx(int i)
appends index i.
int max() const
returns the maximal number of indices which can be stored in IdxSet.
void add(int n)
appends n uninitialized indices.
int size() const
returns the number of used indices.
IdxSet & operator=(const IdxSet &set)
assignment operator.
Everything should be within this namespace.