OSMatrixWithMatrixObjIdx Class Reference

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

#include <OSMatrix.h>

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

List of all members.

Public Member Functions

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

Public Attributes

int matrixObjIdx

Detailed Description

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

Definition at line 2391 of file OSMatrix.h.


Constructor & Destructor Documentation

OSMatrixWithMatrixObjIdx::OSMatrixWithMatrixObjIdx (  ) 

---------- Methods for class OSMatrixWithMatrixObjIdx ----------

Definition at line 3808 of file OSMatrix.cpp.

OSMatrixWithMatrixObjIdx::~OSMatrixWithMatrixObjIdx (  ) 

Definition at line 3817 of file OSMatrix.cpp.


Member Function Documentation

std::string OSMatrixWithMatrixObjIdx::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 3825 of file OSMatrix.cpp.

OSMatrix * OSMatrixWithMatrixObjIdx::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 3851 of file OSMatrix.cpp.

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

A function to check for the equality of two objects.

Reimplemented from OSMatrix.

bool OSMatrixWithMatrixObjIdx::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 OSMatrixWithMatrixObjIdx::deepCopyFrom ( OSMatrixWithMatrixObjIdx 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 2394 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