The in-memory representation of the <matrices> element. More...
#include <OSInstance.h>
Public Member Functions | |
Matrices () | |
The Matrices class constructor. More... | |
~Matrices () | |
The Matrices class destructor. More... | |
bool | IsEqual (Matrices *that) |
A function to check for the equality of two objects. More... | |
bool | setRandom (double density, bool conformant, int iMin, int iMax) |
A function to make a random instance of this class. More... | |
bool | deepCopyFrom (Matrices *that) |
A function to make a deep copy of an instance of this class. More... | |
Public Attributes | |
int | numberOfMatrices |
numberOfMatrices is the number of <nl> elements in the <matrices> element. More... | |
OSMatrix ** | matrix |
matrix is a pointer to an array of OSMatrix object pointers More... | |
The in-memory representation of the <matrices> element.
Definition at line 482 of file OSInstance.h.
Matrices::Matrices | ( | ) |
The Matrices class constructor.
Definition at line 893 of file OSInstance.cpp.
Matrices::~Matrices | ( | ) |
The Matrices class destructor.
Definition at line 902 of file OSInstance.cpp.
bool Matrices::IsEqual | ( | Matrices * | that | ) |
A function to check for the equality of two objects.
Definition at line 8646 of file OSInstance.cpp.
A function to make a random instance of this class.
density,: | corresponds to the probability that a particular child element is created |
conformant,: | if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children) |
iMin,: | lowest index value (inclusive) that a variable reference in this matrix can take |
iMax,: | greatest index value (inclusive) that a variable reference in this matrix can take |
bool Matrices::deepCopyFrom | ( | Matrices * | that | ) |
A function to make a deep copy of an instance of this class.
that,: | the instance from which information is to be copied |
int Matrices::numberOfMatrices |
numberOfMatrices is the number of <nl> elements in the <matrices> element.
Definition at line 496 of file OSInstance.h.
OSMatrix** Matrices::matrix |
matrix is a pointer to an array of OSMatrix object pointers
Definition at line 499 of file OSInstance.h.