26 #ifndef __TERRALIB_MAPTOOLS_SERIALIZATION_XML_INTERNAL_LAYER_H
27 #define __TERRALIB_MAPTOOLS_SERIALIZATION_XML_INTERNAL_LAYER_H
30 #include "../../../common/Singleton.h"
31 #include "../../Config.h"
38 #include <boost/function.hpp>
61 typedef boost::function<void (const te::map::AbstractLayer*, te::xml::AbstractWriter&)>
LayerWriteFnctType;
65 void reg(
const std::string& layerType,
const LayerFnctSerializeType& fncts);
86 #endif // __TERRALIB_MAPTOOLS_SERIALIZATION_XML_INTERNAL_LAYER_H
This class models a XML reader object.
This is the base class for layers.
std::map< std::string, LayerFnctSerializeType > LayerFnctIdxType
This class models a XML writer object.
std::pair< LayerReadFnctType, LayerWriteFnctType > LayerFnctSerializeType
boost::function< te::map::AbstractLayer *(te::xml::Reader &)> LayerReadFnctType
boost::function< void(const te::map::AbstractLayer *, te::xml::AbstractWriter &)> LayerWriteFnctType
A class that models a XML writer object built on top of Xerces-C++.
Template support for singleton pattern.