ML Reference
ml::Matrix5Field Class Reference

Field encapsulating a 5x5 matrix. More...

#include <mlFields.h>

Inheritance diagram for ml::Matrix5Field:
ml::Field

List of all members.

Public Member Functions

 Matrix5Field (const std::string &name="")
 Constructor, creates a field with a name to manage a 5x5 matrix initialized to the unit matrix by default.
void setStringValue (const std::string &stringValue)
 Sets the field value to stringValue="a11 a12 ... a55".
void setMatrixValue (const Matrix5 &matrixValue)
 Sets the value of the field to matrixValue.
void setMatrix5Value (const Matrix5 &matrixValue)
 Sets the value of the field to matrixValue; same as setMatrixValue for symmetry to other fields.
std::string getStringValue () const
 Returns the value of the field as a string value.
const Matrix5getMatrixValue () const
 Returns the value of the field.
const Matrix5getMatrix5Value () const
 Returns the value of the field; same as getMatrixValue for symmetry to other fields.
Deprecated
void setMat5fValue (const Matrix5 &value)
void setMat5Value (const Matrix5 &value)
const Matrix5getMat5Value () const

Protected Member Functions

virtual void setValueFromField (const Field &field)
 Reimplementation from Field which copies the field value more efficiently.

Detailed Description

Field encapsulating a 5x5 matrix.

Definition at line 2051 of file mlFields.h.


Constructor & Destructor Documentation

ml::Matrix5Field::Matrix5Field ( const std::string &  name = "")

Constructor, creates a field with a name to manage a 5x5 matrix initialized to the unit matrix by default.


Member Function Documentation

const Matrix5& ml::Matrix5Field::getMat5Value ( ) const [inline]
Deprecated:
Use getMatrix5Value instead.

Definition at line 2108 of file mlFields.h.

const Matrix5& ml::Matrix5Field::getMatrix5Value ( ) const

Returns the value of the field; same as getMatrixValue for symmetry to other fields.

const Matrix5& ml::Matrix5Field::getMatrixValue ( ) const

Returns the value of the field.

std::string ml::Matrix5Field::getStringValue ( ) const [virtual]

Returns the value of the field as a string value.

setStringValue must be able to reinterpret this returned string correctly.

Implements ml::Field.

void ml::Matrix5Field::setMat5fValue ( const Matrix5 value) [inline]
Deprecated:
Use setMatrix5Value instead.

Definition at line 2102 of file mlFields.h.

void ml::Matrix5Field::setMat5Value ( const Matrix5 value) [inline]
Deprecated:
Use setMatrix5Value instead.

Definition at line 2105 of file mlFields.h.

void ml::Matrix5Field::setMatrix5Value ( const Matrix5 matrixValue)

Sets the value of the field to matrixValue; same as setMatrixValue for symmetry to other fields.

void ml::Matrix5Field::setMatrixValue ( const Matrix5 matrixValue)

Sets the value of the field to matrixValue.

void ml::Matrix5Field::setStringValue ( const std::string &  stringValue) [virtual]

Sets the field value to stringValue="a11 a12 ... a55".

If less than 25 valid numbers can be scanned in string then all components are set to 0.

Implements ml::Field.

virtual void ml::Matrix5Field::setValueFromField ( const Field field) [protected, virtual]

Reimplementation from Field which copies the field value more efficiently.

Reimplemented from ml::Field.


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