30 virtual long long int GetInt64()
const = 0;
40 virtual std::string
GetString()
const = 0;
43 virtual const std::vector<Value*>&
GetList()
const = 0;
friend std::ostream & operator<<(std::ostream &os, const Value &v)
virtual const std::vector< Value * > & GetList() const =0
Will attempt to return the list-data.
virtual std::string GetAsOsString() const =0
Will return a string suitable for an std::ostream.
virtual long double GetFloat64() const =0
Will attempt to return the floating-point data (long double)
virtual Value * Deepcopy() const =0
Will return a deeopopy of this object.
virtual std::string GetString() const =0
Will attempt to return the string-data.
virtual int GetInt32() const =0
Will attempt to return the integer data (int)
Abstract class for values.
DATA_TYPE
The different data types a paramater can be.
virtual double GetFloat32() const =0
Will attempt to return the floating-point data (double)
virtual long long int GetInt64() const =0
Will attempt to return the integer data (long long)
DATA_TYPE GetDataType() const
Will return the data type of this value.