All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Layer.cpp File Reference

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

#include "../../../common/BoostUtils.h"
#include "../../../common/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/Reader.h"
#include "../../../xml/Writer.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/GroupingItem.h"
#include "../../../maptools/QueryLayer.h"
#include "../../../maptools/RasterLayer.h"
#include "../../../se/RasterSymbolizer.h"
#include "../../../se/serialization/xml/Style.h"
#include "../../../se/serialization/xml/Symbolizer.h"
#include "../../Exception.h"
#include "Layer.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::Writer &writer)
 
te::map::AbstractLayerDataSetLayerReader (te::xml::Reader &reader)
 
void DataSetLayerWriter (const te::map::AbstractLayer *layer, te::xml::Writer &writer)
 
te::map::AbstractLayerFolderLayerReader (te::xml::Reader &reader)
 
void FolderLayerWriter (const te::map::AbstractLayer *layer, te::xml::Writer &writer)
 
te::map::GroupingType GetGroupingType (const std::string &type)
 
std::string GetGroupingType (const te::map::GroupingType &type)
 
te::dt::SimplePropertyGetProperty (std::string name, int dataType, int geomType, int srid)
 
te::map::Visibility GetVisibility (const std::string &visible)
 
std::string GetVisibility (const te::map::Visibility &visible)
 
te::map::AbstractLayerQueryLayerReader (te::xml::Reader &reader)
 
void QueryLayerWriter (const te::map::AbstractLayer *layer, te::xml::Writer &writer)
 
te::map::AbstractLayerRasterLayerReader (te::xml::Reader &reader)
 
void RasterLayerWriter (const te::map::AbstractLayer *layer, te::xml::Writer &writer)
 
te::map::GroupingItemReadGroupingItem (te::xml::Reader &reader)
 
std::auto_ptr< te::map::ChartReadLayerChart (te::xml::Reader &reader)
 
te::map::GroupingReadLayerGrouping (te::xml::Reader &reader)
 
std::string ReadLayerTitle (te::xml::Reader &reader)
 
std::string ReadLayerVisibility (te::xml::Reader &reader)
 
void WriteAbstractLayer (const te::map::AbstractLayer *layer, te::xml::Writer &writer)
 
void WriteLayerChart (te::map::Chart *chart, te::xml::Writer &writer)
 
void WriteLayerGrouping (te::map::Grouping *g, te::xml::Writer &writer)
 
void WriteOGRAbstractLayer (const te::map::AbstractLayer *layer, te::xml::Writer &writer)
 

Detailed Description

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

Definition in file Layer.cpp.

Function Documentation

te::map::GroupingType GetGroupingType ( const std::string &  type)
std::string GetGroupingType ( const te::map::GroupingType type)
std::string GetVisibility ( const te::map::Visibility visible)

Definition at line 89 of file Layer.cpp.

References te::map::NOT_VISIBLE, and te::map::VISIBLE.