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