 |
Leonetienne/Hazelnupp
Simple, easy to use, command line parameter interface
|
Go to the documentation of this file.
23 ss <<
"FloatValue: " << value;
32 FloatValue::operator
long double()
const
37 FloatValue::operator double()
const
46 return (
long long int)value;
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.
const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
long long int GetInt64() const override
Will return the data as a long long int.
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
const long double & GetValue() const
Will return the raw value.
Abstract class for values.
Value * Deepcopy() const override
Will return a deeopopy of this object.
double GetFloat32() const override
Will return the data as a double.
DATA_TYPE
The different data types a paramater can be.
FloatValue(const long double &value)
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
int GetInt32() const override
Will return the data as an int.