src/terralib/maptools/serialization/xml/Layer.cpp File Reference

Auxiliary classes and functions to read layer information from a XML document. More...

#include "../../../common/BoostUtils.h"
#include "../../../core/translator/Translator.h"
#include "../../../color/RGBAColor.h"
#include "../../../dataaccess/dataset/AttributeConverterManager.h"
#include "../../../dataaccess/dataset/DataSetTypeConverter.h"
#include "../../../dataaccess/datasource/DataSourceManager.h"
#include "../../../dataaccess/serialization/xml/Serializer.h"
#include "../../../dataaccess/utils/Utils.h"
#include "../../../datatype/DateTimeProperty.h"
#include "../../../datatype/NumericProperty.h"
#include "../../../datatype/Property.h"
#include "../../../datatype/SimpleProperty.h"
#include "../../../datatype/StringProperty.h"
#include "../../../datatype/serialization/xml/Serializer.h"
#include "../../../geometry/Envelope.h"
#include "../../../geometry/GeometryProperty.h"
#include "../../../geometry/serialization/xml/Serializer.h"
#include "../../../se/CoverageStyle.h"
#include "../../../xml/AbstractWriter.h"
#include "../../../xml/Reader.h"
#include "../../../maptools/AbstractLayer.h"
#include "../../../maptools/Chart.h"
#include "../../../maptools/DataSetAdapterLayer.h"
#include "../../../maptools/DataSetLayer.h"
#include "../../../maptools/FolderLayer.h"
#include "../../../maptools/Grouping.h"
#include "../../../maptools/QueryLayer.h"
#include "../../../maptools/RasterLayer.h"
#include "../../../maptools/RasterContrast.h"
#include "../../../se/RasterSymbolizer.h"
#include "../../../se/serialization/xml/Style.h"
#include "../../../se/serialization/xml/Symbolizer.h"
#include "../../Exception.h"
#include "Layer.h"
#include "Utils.h"
#include <cassert>
#include <memory>
#include <boost/algorithm/string/case_conv.hpp>
#include <boost/format.hpp>
#include <boost/lexical_cast.hpp>

Go to the source code of this file.

Functions

te::map::AbstractLayerDataSetAdapterLayerReader (te::xml::Reader &reader)
 
void DataSetAdapterLayerWriter (const te::map::AbstractLayer *layer, te::xml::AbstractWriter &writer)
 
te::map::AbstractLayerDataSetLayerReader (te::xml::Reader &reader)
 
void DataSetLayerWriter (const te::map::AbstractLayer *layer, te::xml::AbstractWriter &writer)
 
te::map::AbstractLayerFolderLayerReader (te::xml::Reader &reader)
 
void FolderLayerWriter (const te::map::AbstractLayer *layer, te::xml::AbstractWriter &writer)
 
te::dt::SimplePropertyGetProperty (std::string name, int dataType, int geomType, int srid)
 
te::map::AbstractLayerQueryLayerReader (te::xml::Reader &reader)
 
void QueryLayerWriter (const te::map::AbstractLayer *layer, te::xml::AbstractWriter &writer)
 
te::map::AbstractLayerRasterLayerReader (te::xml::Reader &reader)
 
void RasterLayerWriter (const te::map::AbstractLayer *layer, te::xml::AbstractWriter &writer)
 

Detailed Description

Auxiliary classes and functions to read layer information from a XML document.

Definition in file src/terralib/maptools/serialization/xml/Layer.cpp.

Function Documentation

te::map::AbstractLayer * DataSetAdapterLayerReader ( te::xml::Reader reader)

Definition at line 625 of file src/terralib/maptools/serialization/xml/Layer.cpp.

References te::da::PrimaryKey::add(), ds, te::xml::END_ELEMENT, te::xml::Reader::getAttr(), te::map::DataSetAdapterLayer::getConverter(), te::map::DataSetAdapterLayer::getData(), te::da::GetDataSource(), te::xml::Reader::getElementLocalName(), te::xml::Reader::getElementValue(), te::xml::Reader::getElementValueAsInt32(), te::da::GetFirstGeomProperty(), te::common::Singleton< Style >::getInstance(), te::gm::Geometry::getMBR(), te::dt::Property::getName(), te::xml::Reader::getNodeType(), te::da::PrimaryKey::getProperties(), GetProperty(), te::da::DataSetTypeConverter::getResult(), te::gm::GeometryProperty::getSRID(), te::map::serialize::GetVisibility(), te::xml::Reader::next(), te::map::serialize::Layer::read(), te::map::serialize::ReadDataSetName(), te::map::serialize::ReadDataSourceId(), te::map::serialize::ReadLayerEncoding(), te::map::serialize::ReadLayerTitle(), te::map::serialize::ReadLayerVisibility(), te::map::serialize::ReadSRIDValue(), te::map::AbstractLayer::setCompositionMode(), te::map::DataSetAdapterLayer::setConverter(), te::map::AbstractLayer::setDataSetName(), te::map::AbstractLayer::setDataSourceId(), te::map::AbstractLayer::setExtent(), te::map::DataSetAdapterLayer::setRendererType(), te::map::AbstractLayer::setSelectionStyle(), te::map::AbstractLayer::setSRID(), te::map::AbstractLayer::setStyle(), te::map::AbstractLayer::setTitle(), te::map::AbstractLayer::setVisibility(), te::map::SourceOver, te::xml::START_ELEMENT, te::gm::Envelope::Union(), and te::xml::VALUE.

Referenced by te::map::serialize::Layer::Layer().