 |
Leonetienne/Hazelnupp
Simple, easy to use, command line parameter interface
|
Go to the documentation of this file.
24 operator std::string()
const;
27 long long int GetInt64()
const override;
40 const std::vector<Value*>&
GetList()
const override;
int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
StringValue(const std::string &value)
Abstract class for values.
long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
std::string GetString() const override
Will return this value as a string.
double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
Value * Deepcopy() const override
Will return a deeopopy of this object.
long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
Specializations for string values (uses std::string)
const std::string & GetValue() const
Will return the raw value.