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