Represents a floating-point value. More...
#include <RealValue.h>
Public Member Functions | |
RealValue (double value) | |
Instantiate a RealValue and assign it a value. | |
double | getValue () const |
Return the real value stored in this object. | |
virtual std::string | toString () const |
Return the real value as a string. |
Represents a floating-point value.
Definition at line 14 of file RealValue.h.
RealValue::RealValue | ( | double | value | ) |
Instantiate a RealValue and assign it a value.
value | the value to assign to the new RealValue object. |
Definition at line 10 of file RealValue.cpp.
double RealValue::getValue | ( | ) | const |
Return the real value stored in this object.
Definition at line 13 of file RealValue.cpp.
References Yosokumo::Value::double_value.
std::string RealValue::toString | ( | ) | const [virtual] |
Return the real value as a string.
Reimplemented from Yosokumo::Value.
Definition at line 18 of file RealValue.cpp.
References Yosokumo::Value::double_value.