OS  2.10.2
Public Member Functions | Public Attributes | List of all members
LinearMatrixValues Class Reference

a data structure to represent the linear expressions in a LinearMatrixElement object More...

#include <OSMatrix.h>

+ Inheritance diagram for LinearMatrixValues:
+ Collaboration diagram for LinearMatrixValues:

Public Member Functions

 LinearMatrixValues ()
 
 ~LinearMatrixValues ()
 
bool IsEqual (LinearMatrixValues *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 (LinearMatrixValues *that)
 A function to make a deep copy of an instance of this class. More...
 
- Public Member Functions inherited from MatrixElementValues
 MatrixElementValues ()
 
virtual ~MatrixElementValues ()
 
virtual bool deepCopyFrom (MatrixElementValues *that)
 A function to check for the equality of two objects. More...
 

Public Attributes

LinearMatrixElement ** el
 
- Public Attributes inherited from MatrixElementValues
int numberOfEl
 each type of value is stored as an array named "el". More...
 

Detailed Description

a data structure to represent the linear expressions in a LinearMatrixElement object

Definition at line 602 of file OSMatrix.h.

Constructor & Destructor Documentation

◆ LinearMatrixValues()

LinearMatrixValues::LinearMatrixValues ( )

◆ ~LinearMatrixValues()

LinearMatrixValues::~LinearMatrixValues ( )

Member Function Documentation

◆ IsEqual()

bool LinearMatrixValues::IsEqual ( LinearMatrixValues that)

A function to check for the equality of two objects.

◆ setRandom()

bool LinearMatrixValues::setRandom ( double  density,
bool  conformant,
int  iMin,
int  iMax 
)

A function to make a random instance of this class.

Parameters
densitycorresponds to the probability that a particular child element is created
conformantif true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children)
iMinlowest index value (inclusive) that a variable reference in this matrix can take
iMaxgreatest index value (inclusive) that a variable reference in this matrix can take

◆ deepCopyFrom()

virtual bool LinearMatrixValues::deepCopyFrom ( LinearMatrixValues that)
virtual

A function to make a deep copy of an instance of this class.

Parameters
thatthe instance from which information is to be copied
Returns
whether the copy was created successfully

Member Data Documentation

◆ el

LinearMatrixElement** LinearMatrixValues::el

Definition at line 605 of file OSMatrix.h.


The documentation for this class was generated from the following file: