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