11 IntValue(
const long long int& value);
21 const long long int&
GetValue()
const;
23 operator long long int()
const;
28 long long int GetInt64()
const override;
41 const std::vector<Value*>&
GetList()
const override;
Specializations for integer values (uses long long int)
int GetInt32() const override
Will return the data as an int.
std::string GetString() const override
Will return the data as a string.
long double GetFloat64() const override
Will return the data as a long double.
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
const long long int & GetValue() const
Will return the raw value.
Value * Deepcopy() const override
Will return a deeopopy of this object.
IntValue(const long long int &value)
const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.
double GetFloat32() const override
Will return the data as a double.
long long int GetInt64() const override
Will return the data as a long long int.
Abstract class for values.