ML Reference
ml::LongDoubleField Class Reference

Field to encapsulate a long double value. More...

#include <mlFields.h>

Inheritance diagram for ml::LongDoubleField:
ml::Field

List of all members.

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.

Detailed Description

Field to encapsulate a long double value.

Definition at line 734 of file mlFields.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

MLldouble ml::LongDoubleField::getLongDoubleMaxValue ( ) const
Deprecated:
Do not use it.
MLldouble ml::LongDoubleField::getLongDoubleMinValue ( ) const
Deprecated:
Do not use it.
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)
Deprecated:
Do not use it.
void ml::LongDoubleField::setLongDoubleMinValue ( MLldouble  minValue)
Deprecated:
Do not use it.
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]

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: