IndexSetCollection - index set, Collection of index sets
include "IndexSetCollection.h"
//-----------------------------------------------------------------------------
class IndexSetCollection: public HandleId
//-----------------------------------------------------------------------------
{
private:
VecSimplest(Handle(IndexSet)) collection;
public :
IndexSetCollection ();
IndexSetCollection (int no_sets);
IndexSetCollection (const IndexSetCollection& b);
~IndexSetCollection ();
IndexSetCollection& operator= (const IndexSetCollection& b);
bool redim (int no_sets);
// IndexSet number i is returned
IndexSet& getIndexSet (int i);
const IndexSet& getIndexSet (int i) const;
int size() const;
// use with care if second argument is set to false
void insert (const IndexSet& ind, int indexset_no, bool allocate = true);
void print (Os os) const;
void scan (Is is);
CLASS_INFO
DEF_VIRTUAL_CAST(IndexSetCollection)
};
index set, Collection of index sets
class IndexSet,
Numerical Objects AS
Elizabeth Acklam, Numerical Objects AS