Public Member Functions | Public Attributes | List of all members
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:
Inheritance graph
[legend]

Public Member Functions

 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

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

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

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

Definition at line 2944 of file OSMatrix.cpp.

MatrixElementValues::~MatrixElementValues ( )
virtual

Definition at line 2952 of file OSMatrix.cpp.

Member Function Documentation

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
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 A function to make a deep copy of an instance of this class
that,:the instance from which information is to be copied
Returns
whether the copy was created successfully

Definition at line 2959 of file OSMatrix.cpp.

Member Data Documentation

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: