Represents an unsigned integer value. More...
#include <NaturalValue.h>
Public Member Functions | |
NaturalValue (uint64_t value) | |
Instantiate a NaturalValue and assign it a value. | |
uint64_t | getValue () const |
Return the natural value stored in this object. | |
virtual std::string | toString () const |
Return the natural value as a string. |
Represents an unsigned integer value.
Definition at line 16 of file NaturalValue.h.
NaturalValue::NaturalValue | ( | uint64_t | value | ) |
Instantiate a NaturalValue and assign it a value.
value | the value to assign to the new NaturalValue object. |
Definition at line 10 of file NaturalValue.cpp.
uint64_t NaturalValue::getValue | ( | ) | const |
Return the natural value stored in this object.
Definition at line 13 of file NaturalValue.cpp.
References Yosokumo::Value::uint_value.
std::string NaturalValue::toString | ( | ) | const [virtual] |
Return the natural value as a string.
Reimplemented from Yosokumo::Value.
Definition at line 18 of file NaturalValue.cpp.
References Yosokumo::Value::uint_value.