23 ss <<
"FloatValue: " << value;
32 FloatValue::operator
long double()
const 37 FloatValue::operator double()
const 46 return (
long long int)value;
FloatValue(const long double &value)
long double GetFloat64() const override
Will return the data as a long double.
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
double GetFloat32() const override
Will return the data as a double.
int GetInt32() const override
Will return the data as an int.
Value * Deepcopy() const override
Will return a deeopopy of this object.
const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Abstract class for values.
DATA_TYPE
The different data types a paramater can be.
const long double & GetValue() const
Will return the raw value.
long long int GetInt64() const override
Will return the data as a long long int.
std::string GetString() const override
Will return the data as a string.