26 #ifndef __TERRALIB_WFS_INTERNAL_DATASOURCE_H
27 #define __TERRALIB_WFS_INTERNAL_DATASOURCE_H
30 #include "../dataaccess/datasource/DataSource.h"
31 #include "../dataaccess/datasource/DataSourceCapabilities.h"
61 std::string getType()
const;
63 const std::map<std::string, std::string>& getConnectionInfo()
const;
65 void setConnectionInfo(
const std::map<std::string, std::string>& connInfo);
67 std::auto_ptr<te::da::DataSourceTransactor> getTransactor();
73 bool isOpened()
const;
86 GDALDataset* getOGRDataSource();
88 const std::vector<WFSLayerInfo>& getLayersInfo();
92 void create(
const std::map<std::string, std::string>& dsInfo);
94 void drop(
const std::map<std::string, std::string>& dsInfo);
96 bool exists(
const std::map<std::string, std::string>& dsInfo);
98 std::vector<std::string> getDataSourceNames(
const std::map<std::string, std::string>& dsInfo);
100 std::vector<te::common::CharEncoding> getEncodings(
const std::map<std::string, std::string>& dsInfo);
104 void verifyConnectionInfo()
const;
106 void buildLayersInfo();
122 #endif // __TERRALIB_WFS_INTERNAL_DATASOURCE_H
te::da::SQLDialect * dialect
static te::da::DataSourceCapabilities sm_capabilities
It represents the SQL query dialect accepted by a given data source.
Informations about WFS Layers.
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. ...
#define TEWFSEXPORT
You can use this macro in order to export/import classes and functions from this module.
Implementation of the data source for the WFS driver.
std::vector< WFSLayerInfo > m_layersInfo
te::da::DataSourceCapabilities capabilities
Configuration flags for the TerraLib WFS module.
static te::da::SQLDialect * sm_dialect
An exception class for the TerraLib WFS module.
std::map< std::string, std::string > m_connectionInfo