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