A concrete class that is used to store a specific type of matrix values, references to variable indexes defined in the core section. More...
#include <OSMatrix.h>
Public Member Functions | |
VarReferenceMatrixValues () | |
-------— Methods for class VarReferenceMatrixValues -------— More... | |
~VarReferenceMatrixValues () | |
bool | IsEqual (VarReferenceMatrixValues *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... | |
virtual bool | deepCopyFrom (VarReferenceMatrixValues *that) |
A function to make a deep copy of an instance of this class. More... | |
![]() | |
MatrixElementValues () | |
-------— Methods for class MatrixElementValues -------— More... | |
virtual | ~MatrixElementValues () |
virtual bool | deepCopyFrom (MatrixElementValues *that) |
A function to check for the equality of two objects. More... | |
Public Attributes | |
int * | el |
Each el is a reference to a constraint defined in the <constraints> section of the OSiL file. More... | |
![]() | |
int | numberOfEl |
each type of value is stored as an array named "el". More... | |
A concrete class that is used to store a specific type of matrix values, references to variable indexes defined in the core section.
Definition at line 563 of file OSMatrix.h.
VarReferenceMatrixValues::VarReferenceMatrixValues | ( | ) |
-------— Methods for class VarReferenceMatrixValues -------—
Definition at line 4520 of file OSMatrix.cpp.
VarReferenceMatrixValues::~VarReferenceMatrixValues | ( | ) |
Definition at line 4528 of file OSMatrix.cpp.
bool VarReferenceMatrixValues::IsEqual | ( | VarReferenceMatrixValues * | that | ) |
A function to check for the equality of two objects.
Definition at line 4545 of file OSMatrix.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 |
Definition at line 4584 of file OSMatrix.cpp.
|
virtual |
A function to make a deep copy of an instance of this class.
that,: | the instance from which information is to be copied |
Definition at line 4589 of file OSMatrix.cpp.
int* VarReferenceMatrixValues::el |
Each el is a reference to a constraint defined in the <constraints> section of the OSiL file.
Definition at line 569 of file OSMatrix.h.