#include <SimpleDataParameterValue.h>
Public Member Functions | |
| virtual ParameterValue * | clone () const override |
| Returns the string representation of the parameter value. | |
| virtual void | fromString (const std::string &strValue) override |
| Gets the value associated to this parameter. | |
| virtual int | getDataType () const |
| Clones the object. | |
| virtual const te::dt::AbstractData * | getValue () const |
| Gets the value associated to this parameter, casting it to the requested type. | |
| template<typename T> | |
| const T * | getValueAs () const |
| Sets the value to be associated to this parameter. This object will take the ownership of the given pointer. | |
| virtual void | setValue (te::dt::AbstractData *absData) |
| SimpleDataParameterValue (int dataType) | |
| < Constructor | |
| SimpleDataParameterValue (te::dt::AbstractData *absData) | |
| virtual std::string | toString () const override |
| Decodes the given string representation and sets the value into the parameter value object. | |
| virtual | ~SimpleDataParameterValue () |
| Virtual destructor. | |
Protected Attributes | |
| std::unique_ptr< te::dt::AbstractData > | m_absData |
| The data of the parameter value. | |
| int | m_dataType |
| The data type of the parameter value. | |
Definition at line 52 of file SimpleDataParameterValue.h.
|
explicit |
< Constructor
Constructor
|
explicit |
|
virtual |
Virtual destructor.
Clones the object
|
overridevirtual |
Returns the string representation of the parameter value.
Implements te::process::ParameterValue.
References te::process::ParameterValue::ParameterValue().
|
overridevirtual |
Gets the value associated to this parameter.
Implements te::process::ParameterValue.
|
virtualinherited |
Clones the object.
|
virtual |
Gets the value associated to this parameter, casting it to the requested type.
References getValueAs().
Referenced by getValueAs().
| const T * te::process::SimpleDataParameterValue::getValueAs | ( | ) | const |
Sets the value to be associated to this parameter. This object will take the ownership of the given pointer.
Definition at line 107 of file SimpleDataParameterValue.h.
References getValue().
Referenced by getValue().
|
virtual |
|
overridevirtual |
Decodes the given string representation and sets the value into the parameter value object.
Implements te::process::ParameterValue.
|
protected |
The data of the parameter value.
Definition at line 86 of file SimpleDataParameterValue.h.
|
protectedinherited |
The data type of the parameter value.
Definition at line 73 of file ParameterValue.h.