Yosokumo::NaturalValue Class Reference

Represents an unsigned integer value. More...

#include <NaturalValue.h>

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

List of all members.

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.

Detailed Description

Represents an unsigned integer value.

Definition at line 16 of file NaturalValue.h.


Constructor & Destructor Documentation

NaturalValue::NaturalValue ( uint64_t  value  ) 

Instantiate a NaturalValue and assign it a value.

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

Definition at line 10 of file NaturalValue.cpp.


Member Function Documentation

uint64_t NaturalValue::getValue (  )  const

Return the natural value stored in this object.

Returns:
the natural value.

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.

Returns:
the natural value as a string.

Reimplemented from Yosokumo::Value.

Definition at line 18 of file NaturalValue.cpp.

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