ML Reference
|
Field to encapsulate a vector of 6 double values. More...
#include <mlFields.h>
Public Member Functions | |
Vector6Field () | |
Default constructor, do not use it. | |
Vector6Field (const std::string &name) | |
Constructo, creates a field with a name to manage a vector of 6 double values. | |
void | setStringValue (const std::string &stringValue) |
Sets the value of the field to stringValue . | |
void | setVector6Value (const Vector6 &vectorValue) |
Sets the value of the field to vectorValue . | |
void | setVectorValue (const Vector6 &vectorValue) |
Sets the value of the field to vectorValue . | |
std::string | getStringValue () const |
Returns the value of the field as a string value. | |
const Vector6 & | getVector6Value () const |
Returns the value of the field. | |
const Vector6 & | getVectorValue () const |
Returns the value of the field. | |
Deprecated | |
void | setVec6fValue (const Vector6 &value) |
const Vector6 & | getVec6fValue () const |
Vector6Field (const std::string &name, Vector6 *valuePtr) | |
Protected Member Functions | |
virtual void | setValueFromField (const Field &field) |
Reimplementation from Field which copies the field value more efficiently. |
Field to encapsulate a vector of 6 double values.
Definition at line 1539 of file mlFields.h.
ml::Vector6Field::Vector6Field | ( | ) |
Default constructor, do not use it.
ml::Vector6Field::Vector6Field | ( | const std::string & | name | ) |
Constructo, creates a field with a name
to manage a vector of 6 double values.
Default value is (0,0,0,0,0,0).
ml::Vector6Field::Vector6Field | ( | const std::string & | name, |
Vector6 * | valuePtr | ||
) |
std::string ml::Vector6Field::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.
const Vector6& ml::Vector6Field::getVec6fValue | ( | ) | const [inline] |
Definition at line 1601 of file mlFields.h.
const Vector6& ml::Vector6Field::getVector6Value | ( | ) | const |
Returns the value of the field.
const Vector6& ml::Vector6Field::getVectorValue | ( | ) | const [inline] |
Returns the value of the field.
Definition at line 1572 of file mlFields.h.
void ml::Vector6Field::setStringValue | ( | const std::string & | stringValue | ) | [virtual] |
Sets the value of the field to stringValue
.
Implements ml::Field.
virtual void ml::Vector6Field::setValueFromField | ( | const Field & | field | ) | [protected, virtual] |
void ml::Vector6Field::setVec6fValue | ( | const Vector6 & | value | ) | [inline] |
Definition at line 1598 of file mlFields.h.
void ml::Vector6Field::setVector6Value | ( | const Vector6 & | vectorValue | ) |
Sets the value of the field to vectorValue
.
void ml::Vector6Field::setVectorValue | ( | const Vector6 & | vectorValue | ) | [inline] |
Sets the value of the field to vectorValue
.
Definition at line 1561 of file mlFields.h.