OS  2.10.1
Public Member Functions | Public Attributes | List of all members
ObjReferenceMatrixValues Class Reference

to represent the nonzeros in an objReferenceMatrix element More...

#include <OSMatrix.h>

+ Inheritance diagram for ObjReferenceMatrixValues:
+ Collaboration diagram for ObjReferenceMatrixValues:

Public Member Functions

 ObjReferenceMatrixValues ()
 
 ~ObjReferenceMatrixValues ()
 
bool IsEqual (ObjReferenceMatrixValues *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 (ObjReferenceMatrixValues *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

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

Detailed Description

to represent the nonzeros in an objReferenceMatrix element

Definition at line 675 of file OSMatrix.h.

Constructor & Destructor Documentation

ObjReferenceMatrixValues::ObjReferenceMatrixValues ( )
ObjReferenceMatrixValues::~ObjReferenceMatrixValues ( )

Member Function Documentation

bool ObjReferenceMatrixValues::IsEqual ( ObjReferenceMatrixValues that)

A function to check for the equality of two objects.

bool ObjReferenceMatrixValues::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
virtual bool ObjReferenceMatrixValues::deepCopyFrom ( ObjReferenceMatrixValues 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

int* ObjReferenceMatrixValues::el

Definition at line 678 of file OSMatrix.h.


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