26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_DATASETADAPTERLAYER_H
27 #define __TERRALIB_MAPTOOLS_INTERNAL_DATASETADAPTERLAYER_H
30 #include "../sam/rtree/Index.h"
31 #include "../sam/rtree.h"
37 namespace da {
class DataSetTypeConverter; }
81 std::auto_ptr<LayerSchema> getSchema()
const;
86 std::auto_ptr<te::da::DataSet> getData(
const std::string& propertyName,
92 std::auto_ptr<te::da::DataSet> getData(
const std::string& propertyName,
106 bool isValid()
const;
122 void setConverter(std::auto_ptr<te::da::DataSetTypeConverter> converter);
129 const std::string& getType()
const;
136 const std::string& getDataSetName()
const;
143 void setDataSetName(
const std::string& name);
150 const std::string& getDataSourceId()
const;
157 void setDataSourceId(
const std::string&
id);
164 const std::string& getRendererType()
const;
171 void setRendererType(
const std::string& t);
189 #endif // __TERRALIB_MAPTOOLS_INTERNAL_DATASETADAPTERLAYER_H
This class represents a set of unique ids created in the same context. i.e. from the same data set...
std::string m_datasetName
The dataset name where we will retrieve the layer objects.
An converter for DataSetType.
This is the base class for layers.
A canvas is an abstraction of a drawing area.
#define TEMAPEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::auto_ptr< te::da::DataSetTypeConverter > m_converter
The DataSetConverter that will be cused to configure the layer.
SpatialRelation
Spatial relations between geometric objects.
AccessPolicy
Supported data access policies (can be used as bitfield).
std::string m_datasourceId
The DataSource associated with this layer.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::string m_rendererType
A pointer to the internal renderer used to paint this layer.
TraverseType
A dataset can be traversed in two ways:
boost::intrusive_ptr< DataSetAdapterLayer > DataSetAdapterLayerPtr
te::sam::rtree::Index< std::size_t, 4 > m_rtree
This is an abstract class that models a query expression.
A layer with reference to a DataSetTypeConverter.
This is the base class for Layers.
An Envelope defines a 2D rectangular region.
static const std::string sm_type
A static data member used in the implementation of getType method.