Class representing a double data value. More...
#include <Double.hpp>
Public Member Functions | |
Double * | clone () |
Double copy method. | |
DataType | getType () |
double | getValue () const |
Value getter. | |
virtual | operator std::string () const |
Method to convert value to string. | |
void | operator= (double value) |
Atribution operator. This is equivalent to Double::setValue. | |
void | setValue (double value) |
Value setter. | |
Protected Member Functions | |
void | copyFrom (const DataValue &otherValue) |
Protected Attributes | |
DataType | type_ |
Friends | |
class | Data |
class | DataFactory |
Class representing a double data value.
Definition at line 48 of file Double.hpp.
Double * Double::clone | ( | ) | [virtual] |
Double copy method.
Implements mermaid::support::data::DataValue.
Definition at line 38 of file Double.cpp.
double Double::getValue | ( | ) | const |
Double::operator std::string | ( | ) | const [virtual] |
Method to convert value to string.
Implements mermaid::support::data::DataValue.
Definition at line 68 of file Double.cpp.
void Double::operator= | ( | double | value | ) |
Atribution operator. This is equivalent to Double::setValue.
value | Value to which the Double instance should be set |
Definition at line 75 of file Double.cpp.
void Double::setValue | ( | double | value | ) |
Value setter.
value | Value to which the double instance should be set |
Definition at line 56 of file Double.cpp.