Yosokumo::IntegerValue Class Reference

Represents a signed integer value. More...

#include <IntegerValue.h>

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

List of all members.

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.

Detailed Description

Represents a signed integer value.

Definition at line 16 of file IntegerValue.h.


Constructor & Destructor Documentation

IntegerValue::IntegerValue ( int64_t  value  ) 

Instantiate an IntegerValue and assign it a value.

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

Definition at line 10 of file IntegerValue.cpp.


Member Function Documentation

int64_t IntegerValue::getValue (  )  const

Return the integer value stored in this object.

Returns:
the integer value.

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.

Returns:
the integer value as a string.

Reimplemented from Yosokumo::Value.

Definition at line 18 of file IntegerValue.cpp.

References Yosokumo::Value::int_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