25 const std::vector<Value*>&
GetValue()
const;
27 operator std::vector<Value*>()
const;
30 long long int GetInt64()
const override;
43 const std::vector<Value*>&
GetList()
const override;
46 std::vector<Value*> value;
double GetFloat32() const override
Throws HazelnuppValueNotConvertibleException.
int GetInt32() const override
Throws HazelnuppValueNotConvertibleException.
std::string GetString() const override
Throws HazelnuppValueNotConvertibleException.
Specializations for list values (uses std::vector<Value*>)
const std::vector< Value * > & GetList() const override
Will return this values list.
Value * Deepcopy() const override
Will return a deeopopy of this object.
long long int GetInt64() const override
Throws HazelnuppValueNotConvertibleException.
const std::vector< Value * > & GetValue() const
Will return the raw value.
Abstract class for values.
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
long double GetFloat64() const override
Throws HazelnuppValueNotConvertibleException.
void AddValue(const Value *value)
Will add this value to the list.