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