58    len = (n < 1) ? 1 : n;
 DIdxSet(int n=8)
default constructor. n gives the initial size of the index space. 
 
int * idx
array of indices 
 
Memory allocation routines. 
 
int max() const
returns the maximal number of indices which can be stored in IdxSet. 
 
void spx_alloc(T &p, int n=1)
Allocate memory. 
 
int size() const
returns the number of used indices. 
 
int len
length of array idx 
 
IdxSet & operator=(const IdxSet &set)
assignment operator. 
 
Dynamic index set.Class DIdxSet provides dynamic IdxSet in the sense, that no restrictions are posed ...
 
void spx_realloc(T &p, int n)
Change amount of allocated memory. 
 
Everything should be within this namespace. 
 
virtual ~DIdxSet()
destructor. 
 
void setMax(int newmax=1)
sets the maximum number of indices. 
 
Set of indices.Class IdxSet provides a set of indices. At construction it must be given an array of i...
 
void spx_free(T &p)
Release memory.