26 #ifndef __TERRALIB_PROCESS_INTERNAL_SERIALIZER_H
27 #define __TERRALIB_PROCESS_INTERNAL_SERIALIZER_H
33 #include <boost/property_tree/ptree.hpp>
44 class ParameterDescriptor;
48 class TaskCapabilities;
te::da::DataSourceCapabilities capabilities
Abstraction that represents a Connector between parameters of a Task.
This class serializes the common data structures from Process Module.
te::process::ParameterDescriptor decodeParameterDescriptor(const boost::property_tree::ptree &ptree) const
Encodes the 'ParameterValue' into a 'boost::property_tree::ptree' object.
boost::property_tree::ptree encodeTaskCapabilities(const te::process::TaskCapabilities *capabilities) const
Encodes a 'boost::property_tree::ptree' into a 'TaskCapabilities' object.
boost::property_tree::ptree encodeProcess(const te::process::Process *process) const
Encodes a 'boost::property_tree::ptree' into a 'Process' object.
boost::property_tree::ptree encodeParameterValue(const te::process::ParameterValue *descriptor, bool addHeader) const
Encodes a 'boost::property_tree::ptree' into a 'ParameterValue' object.
te::process::Connector * decodeConnector(const boost::property_tree::ptree &ptree, const std::map< std::string, te::process::Task * > &mapTasks) const
Encodes the 'Process' into a 'boost::property_tree::ptree' object.
te::process::TaskParameters * decodeTaskParameters(const boost::property_tree::ptree &ptree, const te::process::TaskCapabilities *capabilities) const
Encodes the 'Task' into a 'boost::property_tree::ptree' object.
boost::property_tree::ptree encodeTaskParameters(const te::process::TaskParameters *taskParameters, bool addHeader) const
Encodes a 'boost::property_tree::ptree' into a 'TaskParameters' object.
te::process::Process * decodeProcess(const boost::property_tree::ptree &ptree) const
te::process::TaskCapabilities * decodeTaskCapabilities(const boost::property_tree::ptree &ptree) const
Encodes the 'TaskParameters' into a 'boost::property_tree::ptree' object.
virtual ~Serializer()
Virtual destructor.
boost::property_tree::ptree encodeConnector(const te::process::Connector *connector, bool addHeader) const
Encodes a 'boost::property_tree::ptree' into a 'Connector' object.
boost::property_tree::ptree encodeParameterDescriptor(const te::process::ParameterDescriptor &descriptor, bool addHeader) const
Encodes a 'boost::property_tree::ptree' into a 'ParameterDescriptor' object.
te::process::Task * decodeTask(const boost::property_tree::ptree &ptree) const
Encodes the 'Connector' into a 'boost::property_tree::ptree' object.
boost::property_tree::ptree encodeTask(const te::process::Task *task, bool addHeader) const
Encodes a 'boost::property_tree::ptree' into a 'Task' object.
te::process::ParameterValue * decodeParameterValue(const boost::property_tree::ptree &ptree) const
Encodes the 'TaskCapabilities' into a 'boost::property_tree::ptree' object.
Represents the capabilities of a task.
This class represents the description of a parameter.
Proxy configuration file for TerraView (see terraview_config.h).