 |
Leonetienne/Hazelnupp
Simple, easy to use, command line parameter interface
|
Go to the documentation of this file.
22 operator std::string()
const;
25 long long int GetInt64()
const override;
38 const std::vector<Value*>&
GetList()
const override;
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.
Specializations for string values (uses std::string)
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.