26 #ifndef __TERRALIB_WMS_INTERNAL_DATASOURCE_H 27 #define __TERRALIB_WMS_INTERNAL_DATASOURCE_H 30 #include "../dataaccess/datasource/DataSource.h" 31 #include "../dataaccess/datasource/DataSourceCapabilities.h" 57 std::string getType()
const;
59 const std::map<std::string, std::string>& getConnectionInfo()
const;
61 void setConnectionInfo(
const std::map<std::string, std::string>& connInfo);
63 std::auto_ptr<te::da::DataSourceTransactor> getTransactor();
69 bool isOpened()
const;
79 const std::map<std::string, WMSLayerInfo>& getLayersInfo()
const;
83 void create(
const std::map<std::string, std::string>& dsInfo);
85 void drop(
const std::map<std::string, std::string>& dsInfo);
87 bool exists(
const std::map<std::string, std::string>& dsInfo);
89 std::vector<std::string> getDataSourceNames(
const std::map<std::string, std::string>& dsInfo);
91 std::vector<te::common::CharEncoding> getEncodings(
const std::map<std::string, std::string>& dsInfo);
95 void verifyConnectionInfo()
const;
108 #endif // __TERRALIB_WMS_INTERNAL_DATASOURCE_H Implementation of the data source for the WMS driver.
#define TEWMSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Informations about WMS Layers.
It represents the SQL query dialect accepted by a given data source.
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
Configuration flags for the TerraLib WMS module.
std::map< std::string, WMSLayerInfo > m_layersInfo
An exception class for the TerraLib WMS module.
te::da::DataSourceCapabilities capabilities
std::map< std::string, std::string > m_connectionInfo
static te::da::DataSourceCapabilities sm_capabilities