24 operator long double()
const;
25 operator double()
const;
28 long long int GetInt64()
const override;
41 const std::vector<Value*>&
GetList()
const override;
FloatValue(const long double &value)
long double GetFloat64() const override
Will return the data as a long double.
Specializations for floating point values (uses long double)
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.
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.