![]() |
Leonetienne/Hazelnupp
Simple, easy to use, command line parameter interface
|
Specializations for string values (uses std::string) More...
#include <StringValue.h>


Public Member Functions | |
| StringValue (const std::string &value) | |
| ~StringValue () 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... | |
| const std::string & | GetValue () const |
| Will return the raw value. More... | |
| operator std::string () 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 |
| Will return this value as a string. More... | |
| const std::vector< Value * > & | GetList () const override |
| Throws HazelnuppValueNotConvertibleException. 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 string values (uses std::string)
Definition at line 9 of file StringValue.h.
| StringValue::StringValue | ( | const std::string & | value | ) |
Definition at line 7 of file StringValue.cpp.
|
inlineoverride |
Definition at line 13 of file StringValue.h.
|
overridevirtual |
Will return a deeopopy of this object.
Implements Hazelnp::Value.
Definition at line 15 of file StringValue.cpp.
|
overridevirtual |
Will return a string suitable for an std::ostream;.
Implements Hazelnp::Value.
Definition at line 20 of file StringValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 54 of file StringValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 49 of file StringValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 44 of file StringValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 39 of file StringValue.cpp.
|
overridevirtual |
Throws HazelnuppValueNotConvertibleException.
Implements Hazelnp::Value.
Definition at line 64 of file StringValue.cpp.
|
overridevirtual |
Will return this value as a string.
Implements Hazelnp::Value.
Definition at line 59 of file StringValue.cpp.
| const std::string & StringValue::GetValue | ( | ) | const |
Will return the raw value.
Definition at line 27 of file StringValue.cpp.
| StringValue::operator std::string | ( | ) | const |
Definition at line 32 of file StringValue.cpp.
1.8.13