26 #ifndef __TERRALIB_PROCESS_INTERNAL_PARAMETERDESCRIPTOR_H
27 #define __TERRALIB_PROCESS_INTERNAL_PARAMETERDESCRIPTOR_H
32 #include "../datatype/Enums.h"
void setDescription(const std::string &description)
Gets the parameter data type.
virtual ParameterDescriptor & operator=(const ParameterDescriptor &rhs)
Gets the parameter name.
const std::string getName() const
Sets the parameter name.
const ParameterValue * getDefaultValue() const
Sets the default value. This object wille TAKE THE OWNERSHIP of the pointer.
bool isRequired() const
Sets the parameter to be required.
virtual ~ParameterDescriptor()
Virtual destructor.
void setDataType(int dataType)
Checks if the parameter is required.
int getDataType() const
Sets the parameter data type.
std::unique_ptr< ParameterValue > m_defaultValue
void setDirection(Direction direction)
Gets the default value. If not set, returns null.
void setDefaultValue(ParameterValue *defaultValue)
Checks if the given value is valid basedon the descriptor metadata.
Direction getDirection() const
Sets the parameter type.
void setName(const std::string &name)
Gets the parameter description.
ParameterDescriptor(const std::string &name="", int dataType=te::dt::UNKNOWN_TYPE, bool isRequired=true, Direction type=Direction::INPUT)
Copy constructor.
void setRequired(bool required)
Gets the parameter type.
bool isValueValid(const te::process::ParameterValue *value) const
const std::string getDescription() const
Sets the parameter description.
ParameterDescriptor(const ParameterDescriptor &rhs)
std::string m_description
Proxy configuration file for TerraView (see terraview_config.h).