26 #ifndef __TERRALIB_WMS_INTERNAL_WMSLAYER_H 27 #define __TERRALIB_WMS_INTERNAL_WMSLAYER_H 30 #include "../maptools/AbstractLayer.h" 76 std::auto_ptr<te::map::LayerSchema> getSchema()
const;
81 std::auto_ptr<te::da::DataSet> getData(
const std::string& propertyName,
87 std::auto_ptr<te::da::DataSet> getData(
const std::string& propertyName,
101 bool isValid()
const;
105 const std::string& getType()
const;
107 const std::string& getDataSetName()
const;
109 void setDataSetName(
const std::string& name);
111 const std::string& getDataSourceId()
const;
113 void setDataSourceId(
const std::string&
id);
115 const std::string& getRendererType()
const;
117 void setRendererType(
const std::string& t);
119 void setWidth(
const std::size_t& width);
121 void setHeight(
const std::size_t& height);
123 void setFormat(
const std::string& format);
127 std::string buildRequest()
const;
139 mutable std::auto_ptr<te::map::LayerSchema>
m_schema;
149 #endif // __TERRALIB_WMS_INTERNAL_WMSLAYER_H boost::intrusive_ptr< WMSLayer > WMSLayerPtr
#define TEWMSEXPORT
You can use this macro in order to export/import classes and functions from this module.
This is the base class for layers.
std::string m_datasetName
The dataset name where we will retrieve the layer data.
SpatialRelation
Spatial relations between geometric objects.
std::size_t m_width
Width that will be requested.
std::string m_format
Format that will be requested.
std::size_t m_height
Height that will be requested.
static const std::string sm_type
A static data member used in the implementation of getType method.
Configuration flags for the TerraLib WMS module.
This is an abstract class that models a query expression.
AccessPolicy
Supported data access policies (can be used as bitfield).
TraverseType
A dataset can be traversed in two ways:
A layer with reference to a WMS Layer.
An Envelope defines a 2D rectangular region.
This class represents a set of unique ids created in the same context. i.e. from the same data set...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
A canvas is an abstraction of a drawing area.
std::auto_ptr< te::map::LayerSchema > m_schema
The WMS layer schema.
std::string m_rendererType
A pointer to the internal renderer used to paint this layer.
std::string m_datasourceId
The DataSource associated to this layer.