26 #ifndef __TERRALIB_PROCESS_INTERNAL_PARAMETERVALUE_H
27 #define __TERRALIB_PROCESS_INTERNAL_PARAMETERVALUE_H
32 #include "../common/AbstractFactory.h"
69 virtual void fromString(
const std::string& strValue) = 0;
This class defines the interface of abstract factories without initializing parameters.
Wrapper function used to create taks. Used to avoid C++ to create multiple instances of the factory s...
virtual ~ParameterValueFactory()
ParameterValueFactory(int dataType)
Constructor.
ParameterValue(int dataType)
< Constructor
virtual ParameterValue * clone() const =0
Returns the string representation of the parameter value.
virtual void fromString(const std::string &strValue)=0
int m_dataType
The data type of the parameter value.
virtual std::string toString() const =0
Decodes the given string representation and sets the value into the parameter value object.
ParameterValue(const ParameterValue &rhs)=delete
virtual int getDataType() const
Clones the object.
virtual ~ParameterValue()
Virtual destructor.
TEPROCESSEXPORT ParameterValue * CreateParameterValue(int dataType)
Proxy configuration file for TerraView (see terraview_config.h).