26 #ifndef __TERRALIB_PROCESS_INTERNAL_SIMPLEDATAPARAMETERVALUE_H 27 #define __TERRALIB_PROCESS_INTERNAL_SIMPLEDATAPARAMETERVALUE_H 69 virtual std::string toString()
const override;
72 virtual void fromString(
const std::string& strValue)
override;
79 const T* getValueAs()
const;
110 if (absData ==
nullptr)
115 return dynamic_cast<const T*
>(absData);
121 #endif // __TERRALIB_PROCESS_INTERNAL_SIMPLEDATAPARAMETERVALUE_H Configuration flags for TerraLib Process.
This class represents the value of a parameter.
const T * getValueAs() const
Sets the value to be associated to this parameter. This object will take the ownership of the given p...
virtual ~SimpleDataParameterValueFactory()
A base class for values that can be retrieved from the data access module.
virtual const te::dt::AbstractData * getValue() const
Gets the value associated to this parameter, casting it to the requested type.
Wrapper function used to create taks. Used to avoid C++ to create multiple instances of the factory s...
SimpleDataParameterValueFactory(int dataType)
< Constructor
te::process::ParameterValue * build() override
Concrete factories (derived from this one) must implement this method in order to create objects...
std::unique_ptr< te::dt::AbstractData > m_absData
The data of the parameter value.