OSMatrixWithMatrixConIdx Class Reference

this class extends OSMatrix for use, e.g., in the matrixCon section of OSoL and OSrL More...

#include <OSMatrix.h>

Inheritance diagram for OSMatrixWithMatrixConIdx:
Inheritance graph
[legend]
Collaboration diagram for OSMatrixWithMatrixConIdx:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OSMatrixWithMatrixConIdx ()
 ---------- Methods for class OSMatrixWithMatrixConIdx ----------
 ~OSMatrixWithMatrixConIdx ()
virtual std::string getMatrixNodeInXML ()
virtual OSMatrixWithMatrixConIdxcloneMatrixNode ()
 The implementation of the virtual functions.
bool IsEqual (OSMatrixWithMatrixConIdx *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.
bool deepCopyFrom (OSMatrixWithMatrixConIdx *that)
 A function to make a deep copy of an instance of this class.

Public Attributes

int matrixConIdx

Detailed Description

this class extends OSMatrix for use, e.g., in the matrixCon section of OSoL and OSrL

Definition at line 2445 of file OSMatrix.h.


Constructor & Destructor Documentation

OSMatrixWithMatrixConIdx::OSMatrixWithMatrixConIdx (  ) 

---------- Methods for class OSMatrixWithMatrixConIdx ----------

Definition at line 3859 of file OSMatrix.cpp.

OSMatrixWithMatrixConIdx::~OSMatrixWithMatrixConIdx (  ) 

Definition at line 3868 of file OSMatrix.cpp.


Member Function Documentation

std::string OSMatrixWithMatrixConIdx::getMatrixNodeInXML (  )  [virtual]

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.

Reimplemented from OSMatrix.

Definition at line 3875 of file OSMatrix.cpp.

OSMatrix * OSMatrixWithMatrixConIdx::cloneMatrixNode (  )  [virtual]

The implementation of the virtual functions.

Returns:
a pointer to a new MatrixNode of the proper type.

Reimplemented from OSMatrix.

Definition at line 3901 of file OSMatrix.cpp.

bool OSMatrixWithMatrixConIdx::IsEqual ( OSMatrixWithMatrixConIdx that  )  [virtual]

A function to check for the equality of two objects.

Reimplemented from OSMatrix.

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

Reimplemented from OSMatrix.

bool OSMatrixWithMatrixConIdx::deepCopyFrom ( OSMatrixWithMatrixConIdx that  ) 

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

Reimplemented from OSMatrix.


Member Data Documentation

Definition at line 2448 of file OSMatrix.h.


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

Generated on 5 Jul 2015 by  doxygen 1.6.1