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:
Inheritance graph
[legend]
Collaboration diagram for LinearMatrixValues:
Collaboration graph
[legend]

Public Member Functions

 LinearMatrixValues ()
 -------— Methods for class LinearMatrixValues -------— More...
 
 ~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 ()
 -------— 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

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 ( )

-------— Methods for class LinearMatrixValues -------—

Definition at line 4761 of file OSMatrix.cpp.

LinearMatrixValues::~LinearMatrixValues ( )

Definition at line 4771 of file OSMatrix.cpp.

Member Function Documentation

bool LinearMatrixValues::IsEqual ( LinearMatrixValues that)

A function to check for the equality of two objects.

Definition at line 4807 of file OSMatrix.cpp.

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

A function to make a random instance of this class.

Parameters
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 4847 of file OSMatrix.cpp.

bool LinearMatrixValues::deepCopyFrom ( LinearMatrixValues that)
virtual

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

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

Definition at line 4852 of file OSMatrix.cpp.

Member Data Documentation

LinearMatrixElement** LinearMatrixValues::el

Definition at line 605 of file OSMatrix.h.


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