26 #ifndef __TERRALIB_FE_SERIALIZATION_XML_INTERNAL_ABSTRACTOP_H
27 #define __TERRALIB_FE_SERIALIZATION_XML_INTERNAL_ABSTRACTOP_H
30 #include "../../../common/Singleton.h"
31 #include "../../Config.h"
38 #include <boost/function.hpp>
80 std::map<std::string, const char*>
m_names;
A class that models a XML writer object built on top of Xerces-C++.
Template support for singleton pattern.
An abstract interface for operators.
std::pair< AbstractOpReadFnctType, AbstractOpWriteFnctType > AbstractOpFnctSerializeType
std::map< std::string, const char * > m_names
Auxiliary map of string to te::fe::Global names pointers.
boost::function< void(const te::fe::AbstractOp *, te::xml::AbstractWriter &)> AbstractOpWriteFnctType
void reg(const std::string &opName, const AbstractOpFnctSerializeType &fncts)
void write(const te::fe::AbstractOp *op, te::xml::AbstractWriter &writer) const
te::fe::AbstractOp * read(te::xml::Reader &reader) const
AbstractOpFnctIdxType m_fncts
std::map< std::string, AbstractOpFnctSerializeType > AbstractOpFnctIdxType
boost::function< te::fe::AbstractOp *(const char *opName, te::xml::Reader &)> AbstractOpReadFnctType
This class models a XML writer object.
This class models a XML reader object.
#define TEFEEXPORT
You can use this macro in order to export/import classes and functions from this module.