 |
Leonetienne/Hazelnupp
Simple, easy to use, command line parameter interface
|
Go to the documentation of this file.
13 for (
Value* val : value)
25 for (
const Value* val : value)
33 this->value.emplace_back(value->
Deepcopy());
48 for (
const Value* val : value)
51 if (val != value.back())
60 ListValue::operator std::vector<Value*>()
const
DATA_TYPE
The different data types a paramater can be.
void AddValue(const Value *value)
Will add this value to the list.
Specializations for list values (uses std::vector<Value*>)
double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
Value * Deepcopy() const override
Will return a deeopopy of this object.
Abstract class for values.
virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
const std::vector< Value * > & GetList() const override
Will return this values list.
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
const std::vector< Value * > & GetValue() const
Will return the raw value.
int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.