![]() |
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... | |
Public Member Functions inherited from Hazelnp::Value | |
| virtual | ~Value () |
| DATA_TYPE | GetDataType () const |
| Will return the data type of this value. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Hazelnp::Value | |
| Value (DATA_TYPE type) | |
Protected Attributes inherited from Hazelnp::Value | |
| DATA_TYPE | type |
Specializations for list values (uses std::vector<Value*>)
Definition at line 9 of file ListValue.h.
| ListValue::ListValue | ( | ) |
Definition at line 7 of file ListValue.cpp.
|
override |
Definition at line 13 of file ListValue.cpp.
| void ListValue::AddValue | ( | const Value * | value | ) |
Will add this value to the list.
Definition at line 33 of file ListValue.cpp.
|
overridevirtual |
Will return a deeopopy of this object.
Implements Hazelnp::Value.
Definition at line 23 of file ListValue.cpp.
|
overridevirtual |
Will return a string suitable for an std::ostream;.
Implements Hazelnp::Value.
Definition at line 44 of file ListValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 84 of file ListValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 79 of file ListValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 74 of file ListValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 69 of file ListValue.cpp.
|
overridevirtual |
Will return this values list.
Implements Hazelnp::Value.
Definition at line 94 of file ListValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 89 of file ListValue.cpp.
| const std::vector< Value * > & ListValue::GetValue | ( | ) | const |
| ListValue::operator std::vector< Value * > | ( | ) | const |
Definition at line 62 of file ListValue.cpp.
1.8.17