23 ss <<
"IntValue: " << value;
32 IntValue::operator
long long int()
const 37 IntValue::operator int()
const 56 return (
long double)value;
long long int GetInt64() const override
Will return the data as a long long int.
long double GetFloat64() const override
Will return the data as a long double.
const long long int & GetValue() const
Will return the raw value.
Value * Deepcopy() const override
Will return a deeopopy of this object.
Gets thrown when an attempt is made to retrieve the wrong data type from a value, when the value not ...
IntValue(const long long int &value)
std::string GetAsOsString() const override
Will return a string suitable for an std::ostream;.
Abstract class for values.
DATA_TYPE
The different data types a paramater can be.
std::string GetString() const override
Will return the data as a string.
double GetFloat32() const override
Will return the data as a double.
int GetInt32() const override
Will return the data as an int.
const std::vector< Value * > & GetList() const override
Throws HazelnuppValueNotConvertibleException.