#include <coherence/lang/Number.hpp>
Inherits Object.
Inherited by Float32 [virtual], Float64 [virtual], Integer16 [virtual], Integer32 [virtual], and Integer64 [virtual].
Public Types | |
| typedef spec::Handle | Handle |
| Number Handle definition. | |
| typedef spec::View | View |
| Number View definition. | |
| typedef spec::Holder | Holder |
| Number Holder definition. | |
Public Member Functions | |
| virtual int16_t | getInt16Value () const =0 |
| Return the numeric value of this object as an int16_t. | |
| virtual int32_t | getInt32Value () const =0 |
| Return the numeric value of this object as an int32_t. | |
| virtual int64_t | getInt64Value () const =0 |
| Return the numeric value of this object as an int64_t. | |
| virtual float32_t | getFloat32Value () const =0 |
| Return the numeric value of this object as a float32_t. | |
| virtual float64_t | getFloat64Value () const =0 |
| Return the numeric value of this object as a float64_t. | |
| virtual int16_t getInt16Value | ( | ) | const [pure virtual] |
| virtual int32_t getInt32Value | ( | ) | const [pure virtual] |
| virtual int64_t getInt64Value | ( | ) | const [pure virtual] |
| virtual float32_t getFloat32Value | ( | ) | const [pure virtual] |
| virtual float64_t getFloat64Value | ( | ) | const [pure virtual] |