My Project
MatrixElementValues Class Reference

an abstract class to help represent the elements in a MatrixType object From this we derive concrete classes that are used to store specific types of values, such as constant values, variable references, general nonlinear expressions, etc. More...

#include <OSMatrix.h>

Inheritance diagram for MatrixElementValues:
ConReferenceMatrixValues ConstantMatrixValues GeneralMatrixValues LinearMatrixValues ObjReferenceMatrixValues VarReferenceMatrixValues

Public Member Functions

 MatrixElementValues ()
 -------— Methods for class MatrixElementValues -------—
 
virtual ~MatrixElementValues ()
 
virtual bool deepCopyFrom (MatrixElementValues *that)
 A function to check for the equality of two objects.
 

Public Attributes

int numberOfEl
 each type of value is stored as an array named "el".
 

Detailed Description

an abstract class to help represent the elements in a MatrixType object From this we derive concrete classes that are used to store specific types of values, such as constant values, variable references, general nonlinear expressions, etc.

Definition at line 321 of file OSMatrix.h.

Constructor & Destructor Documentation

◆ MatrixElementValues()

MatrixElementValues::MatrixElementValues ( )

-------— Methods for class MatrixElementValues -------—

Definition at line 2943 of file OSMatrix.cpp.

◆ ~MatrixElementValues()

MatrixElementValues::~MatrixElementValues ( )
virtual

Definition at line 2951 of file OSMatrix.cpp.

Member Function Documentation

◆ deepCopyFrom()

bool MatrixElementValues::deepCopyFrom ( MatrixElementValues * that)
virtual

A function to check for the equality of two objects.

The following method writes a matrix node in OSgL format. it is used by OSgLWriter to write a <matrix> element.

Returns
the MatrixNode and its children as an OSgL string. 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 A function to make a deep copy of an instance of this class
thatthe instance from which information is to be copied
Returns
whether the copy was created successfully

Definition at line 2958 of file OSMatrix.cpp.

Member Data Documentation

◆ numberOfEl

int MatrixElementValues::numberOfEl

each type of value is stored as an array named "el".

numberOfEl records the size of this array.

Definition at line 327 of file OSMatrix.h.


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