Yosokumo::RealValue Class Reference

Represents a floating-point value. More...

#include <RealValue.h>

Inheritance diagram for Yosokumo::RealValue:
Inheritance graph
[legend]
Collaboration diagram for Yosokumo::RealValue:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Represents a floating-point value.

Definition at line 14 of file RealValue.h.


Constructor & Destructor Documentation

RealValue::RealValue ( double  value  ) 

Instantiate a RealValue and assign it a value.

Parameters:
value the value to assign to the new RealValue object.

Definition at line 10 of file RealValue.cpp.


Member Function Documentation

double RealValue::getValue (  )  const

Return the real value stored in this object.

Returns:
the real value.

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.

Returns:
the real value as a string.

Reimplemented from Yosokumo::Value.

Definition at line 18 of file RealValue.cpp.

References Yosokumo::Value::double_value.


The documentation for this class was generated from the following files:
Generated on Mon May 13 09:19:12 2013 for C++ Yosokumo API by  doxygen 1.6.3