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