|
ICG 2
Electric Boogaloo
|
#include <NumericValue.hpp>
Public Member Functions | |
| virtual double | getFloatingPointValue () const =0 |
| virtual long long | getIntegerValue () const =0 |
Public Member Functions inherited from Value | |
| virtual | ~Value () |
| virtual void | print (std::ostream &s) const =0 |
| virtual std::string | toString () const =0 |
| virtual ValueType | getValueType () const =0 |
Additional Inherited Members | |
Public Types inherited from Value | |
| enum | ValueType { STRING , INTEGER , FLOATING_POINT , POINTER } |
|
pure virtual |
Get the value of this NumericValue as a floating point value.
Implemented in FloatingPointValue, and IntegerValue.
|
pure virtual |
Get the value of this IntegerValue as an integer.
Implemented in FloatingPointValue, and IntegerValue.