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