ML Reference
|
Field to encapsulate a long double value. More...
#include <mlFields.h>
Public Member Functions | |
LongDoubleField () | |
LongDoubleField (const std::string &name) | |
Constructor, creates a field with a name to manage an MLldouble value. | |
void | setStringValue (const std::string &stringValue) |
Sets value of the field to stringValue . | |
void | setLongDoubleValue (MLldouble longDoubleValue) |
Sets field value to longDoubleValue . | |
std::string | getStringValue () const |
Returns the value of the field as string value. | |
MLldouble | getLongDoubleValue () const |
Returns current field value. | |
Deprecated | |
void | setLongDoubleMaxValue (MLldouble maxValue) |
MLldouble | getLongDoubleMaxValue () const |
void | setLongDoubleMinValue (MLldouble minValue) |
MLldouble | getLongDoubleMinValue () const |
Protected Member Functions | |
virtual void | setValueFromField (const Field &field) |
Reimplementation from Field which copies the field value more efficiently. |
Field to encapsulate a long double value.
Definition at line 734 of file mlFields.h.
ml::LongDoubleField::LongDoubleField | ( | ) |
ml::LongDoubleField::LongDoubleField | ( | const std::string & | name | ) |
Constructor, creates a field with a name
to manage an MLldouble value.
The default MLldouble value is 0.
MLldouble ml::LongDoubleField::getLongDoubleMaxValue | ( | ) | const |
MLldouble ml::LongDoubleField::getLongDoubleMinValue | ( | ) | const |
MLldouble ml::LongDoubleField::getLongDoubleValue | ( | ) | const |
Returns current field value.
std::string ml::LongDoubleField::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.
void ml::LongDoubleField::setLongDoubleMaxValue | ( | MLldouble | maxValue | ) |
void ml::LongDoubleField::setLongDoubleMinValue | ( | MLldouble | minValue | ) |
void ml::LongDoubleField::setLongDoubleValue | ( | MLldouble | longDoubleValue | ) |
Sets field value to longDoubleValue
.
By default the entire MLldouble type range can be set.
void ml::LongDoubleField::setStringValue | ( | const std::string & | stringValue | ) | [virtual] |
Sets value of the field to stringValue
.
Implements ml::Field.
virtual void ml::LongDoubleField::setValueFromField | ( | const Field & | field | ) | [protected, virtual] |