My Project
ConReferenceMatrixValues Class Reference

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

#include <OSMatrix.h>

Inheritance diagram for ConReferenceMatrixValues:
MatrixElementValues

Public Member Functions

 ConReferenceMatrixValues ()
 -------— Methods for class ConReferenceMatrixValues -------—
 
 ~ConReferenceMatrixValues ()
 
bool IsEqual (ConReferenceMatrixValues *that)
 A function to check for the equality of two objects.
 
bool setRandom (double density, bool conformant, int iMin, int iMax)
 A function to make a random instance of this class.
 
virtual bool deepCopyFrom (ConReferenceMatrixValues *that)
 A function to make a deep copy of an instance of this class.
 
- Public Member Functions inherited from MatrixElementValues
 MatrixElementValues ()
 -------— Methods for class MatrixElementValues -------—
 
virtual ~MatrixElementValues ()
 
virtual bool deepCopyFrom (MatrixElementValues *that)
 A function to check for the equality of two objects.
 

Public Attributes

ConReferenceMatrixElement ** el
 el contains the indices of the matrix constraints along with the valueType.
 
- Public Attributes inherited from MatrixElementValues
int numberOfEl
 each type of value is stored as an array named "el".
 

Detailed Description

a data structure to represent the nonzeros in a conReferenceMatrix element

Definition at line 711 of file OSMatrix.h.

Constructor & Destructor Documentation

◆ ConReferenceMatrixValues()

ConReferenceMatrixValues::ConReferenceMatrixValues ( )

-------— Methods for class ConReferenceMatrixValues -------—

Definition at line 5671 of file OSMatrix.cpp.

◆ ~ConReferenceMatrixValues()

ConReferenceMatrixValues::~ConReferenceMatrixValues ( )

Definition at line 5679 of file OSMatrix.cpp.

Member Function Documentation

◆ IsEqual()

bool ConReferenceMatrixValues::IsEqual ( ConReferenceMatrixValues * that)

A function to check for the equality of two objects.

Definition at line 5708 of file OSMatrix.cpp.

◆ setRandom()

bool ConReferenceMatrixValues::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

Definition at line 5747 of file OSMatrix.cpp.

◆ deepCopyFrom()

bool ConReferenceMatrixValues::deepCopyFrom ( ConReferenceMatrixValues * 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

Definition at line 5752 of file OSMatrix.cpp.

Member Data Documentation

◆ el

ConReferenceMatrixElement** ConReferenceMatrixValues::el

el contains the indices of the matrix constraints along with the valueType.

Definition at line 717 of file OSMatrix.h.


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