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