![]() |
Leonetienne/Hazelnupp
Simple, easy to use, command line parameter interface
|
Specializations for list values (uses std::vector<Value*>) More...
#include <ListValue.h>
Public Member Functions | |
ListValue () | |
~ListValue () override | |
Value * | Deepcopy () const override |
Will return a deeopopy of this object. More... | |
std::string | GetAsOsString () const override |
Will return a string suitable for an std::ostream;. More... | |
void | AddValue (const Value *value) |
Will add this value to the list. More... | |
const std::vector< Value * > & | GetValue () const |
Will return the raw value. More... | |
operator std::vector< Value * > () const | |
long long int | GetInt64 () const override |
Throws HazelnuppValueNotConvertibleException. More... | |
int | GetInt32 () const override |
Throws HazelnuppValueNotConvertibleException. More... | |
long double | GetFloat64 () const override |
Throws HazelnuppValueNotConvertibleException. More... | |
double | GetFloat32 () const override |
Throws HazelnuppValueNotConvertibleException. More... | |
std::string | GetString () const override |
Throws HazelnuppValueNotConvertibleException. More... | |
const std::vector< Value * > & | GetList () const override |
Will return this values list. More... | |
![]() | |
virtual | ~Value () |
DATA_TYPE | GetDataType () const |
Will return the data type of this value. More... | |
Additional Inherited Members | |
![]() | |
Value (DATA_TYPE type) | |
![]() | |
DATA_TYPE | type |
Specializations for list values (uses std::vector<Value*>)
Definition at line 7 of file ListValue.h.
ListValue::ListValue | ( | ) |
Definition at line 5 of file ListValue.cpp.
|
override |
Definition at line 11 of file ListValue.cpp.
void ListValue::AddValue | ( | const Value * | value | ) |
Will add this value to the list.
Definition at line 31 of file ListValue.cpp.
|
overridevirtual |
|
overridevirtual |
Will return a string suitable for an std::ostream;.
Implements Value.
Definition at line 42 of file ListValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Value.
Definition at line 82 of file ListValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Value.
Definition at line 77 of file ListValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Value.
Definition at line 72 of file ListValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Value.
Definition at line 67 of file ListValue.cpp.
|
overridevirtual |
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Value.
Definition at line 87 of file ListValue.cpp.
const std::vector< Value * > & ListValue::GetValue | ( | ) | const |
ListValue::operator std::vector< Value * > | ( | ) | const |
Definition at line 60 of file ListValue.cpp.