26 #ifndef __TERRALIB_PROCESS_INTERNAL_SIMPLEDATAPARAMETERVALUE_H
27 #define __TERRALIB_PROCESS_INTERNAL_SIMPLEDATAPARAMETERVALUE_H
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);
A base class for values that can be retrieved from the data access module.
Wrapper function used to create taks. Used to avoid C++ to create multiple instances of the factory s...
virtual ~SimpleDataParameterValueFactory()
SimpleDataParameterValueFactory(int dataType)
< Constructor
te::process::ParameterValue * build() override
Concrete factories (derived from this one) must implement this method in order to create objects.
virtual void setValue(te::dt::AbstractData *absData)
std::unique_ptr< te::dt::AbstractData > m_absData
The data of the parameter value.
const T * getValueAs() const
Sets the value to be associated to this parameter. This object will take the ownership of the given p...
virtual void fromString(const std::string &strValue) override
Gets the value associated to this parameter.
virtual ~SimpleDataParameterValue()
Virtual destructor.
SimpleDataParameterValue(te::dt::AbstractData *absData)
virtual const te::dt::AbstractData * getValue() const
Gets the value associated to this parameter, casting it to the requested type.
SimpleDataParameterValue(int dataType)
< Constructor
virtual std::string toString() const override
Decodes the given string representation and sets the value into the parameter value object.
virtual ParameterValue * clone() const override
Returns the string representation of the parameter value.
The ParameterValueType uses WFS-Filter expressions to give values for SE graphic parameters.
Proxy configuration file for TerraView (see terraview_config.h).