#include <SimpleDataParameterValue.h>
Public Member Functions | |
virtual ParameterValue * | clone () const override |
Returns the string representation of the parameter value. More... | |
virtual void | fromString (const std::string &strValue) override |
Gets the value associated to this parameter. More... | |
virtual int | getDataType () const |
Clones the object. More... | |
virtual const te::dt::AbstractData * | getValue () const |
Gets the value associated to this parameter, casting it to the requested type. More... | |
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. More... | |
virtual void | setValue (te::dt::AbstractData *absData) |
SimpleDataParameterValue (int dataType) | |
< Constructor More... | |
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. More... | |
virtual | ~SimpleDataParameterValue () |
Virtual destructor. More... | |
Protected Attributes | |
std::unique_ptr< te::dt::AbstractData > | m_absData |
The data of the parameter value. More... | |
int | m_dataType |
The data type of the parameter value. More... | |
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.
|
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.
Referenced by getValueAs().
const T * te::process::SimpleDataParameterValue::getValueAs |
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().
|
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.