70 void add(
int n,
const int* i)
92 void setMax(
int newmax = 1);
135 #endif // _DIDXSET_H_ void add(int n)
appends n uninitialized indices.
DIdxSet(int n=8)
default constructor. n gives the initial size of the index space.
int max() const
returns the maximal number of indices which can be stored in IdxSet.
void add(const IdxSet &sv)
adds all indices from sv.
void add(int n, const int *i)
adds n indices from i.
void addIdx(int i)
appends index i.
int size() const
returns the number of used indices.
void add(int n)
adds n uninitialized indices.
IdxSet & operator=(const IdxSet &set)
assignment operator.
void addIdx(int i)
adds index i to the index set
DIdxSet & operator=(const IdxSet &sv)
assignment operator from IdxSet
Dynamic index set.Class DIdxSet provides dynamic IdxSet in the sense, that no restrictions are posed ...
Everything should be within this namespace.
virtual ~DIdxSet()
destructor.
void setMax(int newmax=1)
sets the maximum number of indices.
DIdxSet & operator=(const DIdxSet &sv)
assignment operator from DIdxSet
Set of indices.Class IdxSet provides a set of indices. At construction it must be given an array of i...