OS  2.9.3
Public Member Functions | Public Attributes | List of all members
GeneralMatrixValues Class Reference

a data structure to represent the nonzeros in a generalMatrix element More...

#include <OSMatrix.h>

+ Collaboration diagram for GeneralMatrixValues:

Public Member Functions

 GeneralMatrixValues ()
 
 ~GeneralMatrixValues ()
 
bool IsEqual (GeneralMatrixValues *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 (GeneralMatrixValues *that)
 A function to make a deep copy of an instance of this class. More...
 

Public Attributes

int numberOfEl
 
ScalarExpressionTree ** el
 

Detailed Description

a data structure to represent the nonzeros in a generalMatrix element

Definition at line 564 of file OSMatrix.h.

Constructor & Destructor Documentation

GeneralMatrixValues::GeneralMatrixValues ( )
GeneralMatrixValues::~GeneralMatrixValues ( )

Member Function Documentation

bool GeneralMatrixValues::IsEqual ( GeneralMatrixValues that)

A function to check for the equality of two objects.

bool GeneralMatrixValues::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
bool GeneralMatrixValues::deepCopyFrom ( GeneralMatrixValues that)

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

int GeneralMatrixValues::numberOfEl

Definition at line 567 of file OSMatrix.h.

ScalarExpressionTree** GeneralMatrixValues::el

Definition at line 568 of file OSMatrix.h.


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