ML Reference
|
Field to encapsulate a vector of 10 double values. More...
#include <mlFields.h>
Public Member Functions | |
Vector10Field () | |
Default constructor, do not use it. | |
Vector10Field (const std::string &name) | |
Constructor, creates a field with a name to manage a vector of 10 double values initialized to (0,0,0,0,0,0,0,0,0,0) by default. | |
void | setStringValue (const std::string &stringValue) |
Sets the value of the field to stringValue . | |
void | setVector10Value (const Vector10 &vectorValue) |
Sets the value of the field to vectorValue . | |
void | setVectorValue (const Vector10 &vectorValue) |
Sets the value of the field to vectorValue . | |
std::string | getStringValue () const |
Returns the value of the field as string value. | |
const Vector10 & | getVector10Value () const |
Returns the value of the field. | |
const Vector10 & | getVectorValue () const |
Returns the value of the field. | |
Deprecated | |
void | setVec10fValue (const Vector10 &value) |
const Vector10 & | getVec10fValue () const |
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 10 double values.
Definition at line 1638 of file mlFields.h.
ml::Vector10Field::Vector10Field | ( | ) |
Default constructor, do not use it.
ml::Vector10Field::Vector10Field | ( | const std::string & | name | ) |
Constructor, creates a field with a name
to manage a vector of 10 double values initialized to (0,0,0,0,0,0,0,0,0,0) by default.
std::string ml::Vector10Field::getStringValue | ( | ) | const [virtual] |
Returns the value of the field as string value.
setStringValue must be able to reinterpret this returned string correctly.
Implements ml::Field.
const Vector10& ml::Vector10Field::getVec10fValue | ( | ) | const [inline] |
Definition at line 1698 of file mlFields.h.
const Vector10& ml::Vector10Field::getVector10Value | ( | ) | const |
Returns the value of the field.
const Vector10& ml::Vector10Field::getVectorValue | ( | ) | const [inline] |
Returns the value of the field.
Definition at line 1672 of file mlFields.h.
void ml::Vector10Field::setStringValue | ( | const std::string & | stringValue | ) | [virtual] |
Sets the value of the field to stringValue
.
Implements ml::Field.
virtual void ml::Vector10Field::setValueFromField | ( | const Field & | field | ) | [protected, virtual] |
void ml::Vector10Field::setVec10fValue | ( | const Vector10 & | value | ) | [inline] |
Definition at line 1695 of file mlFields.h.
void ml::Vector10Field::setVector10Value | ( | const Vector10 & | vectorValue | ) |
Sets the value of the field to vectorValue
.
void ml::Vector10Field::setVectorValue | ( | const Vector10 & | vectorValue | ) | [inline] |
Sets the value of the field to vectorValue
.
Definition at line 1660 of file mlFields.h.