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>
A class that models a XML writer object built on top of Xerces-C++.
Template support for singleton pattern.
This is the base class for layers.
std::map< std::string, LayerFnctSerializeType > LayerFnctIdxType
boost::function< void(const te::map::AbstractLayer *, te::xml::AbstractWriter &)> LayerWriteFnctType
te::map::AbstractLayer * read(te::xml::Reader &reader) const
boost::function< te::map::AbstractLayer *(te::xml::Reader &)> LayerReadFnctType
std::pair< LayerReadFnctType, LayerWriteFnctType > LayerFnctSerializeType
void reg(const std::string &layerType, const LayerFnctSerializeType &fncts)
void write(const te::map::AbstractLayer *alayer, te::xml::AbstractWriter &writer) const
This class models a XML writer object.
This class models a XML reader object.