Go to the documentation of this file.
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"
87 void create(
const std::string& connInfo);
89 void drop(
const std::string& connInfo);
91 bool exists(
const std::string& connInfo);
117 #endif // __TERRALIB_WFS_INTERNAL_DATASOURCE_H
Informations about WFS Layers.
It represents the SQL query dialect accepted by a given data source.
~DataSource()
Virtual destructor.
static void setCapabilities(const te::da::DataSourceCapabilities &capabilities)
void close()
It closes the data source and clears all the resources used by its internal communication channel.
const te::da::DataSourceCapabilities & getCapabilities() const
It returns the known capabilities of the data source.
Implementation of the data source for the WFS driver.
bool isOpened() const
It returns true if the data source is opened, otherwise it returns false.
#define TEWFSEXPORT
You can use this macro in order to export/import classes and functions from this module.
void open()
It opens the data source and makes it ready for using.
std::vector< WFSLayerInfo > m_layersInfo
bool isValid() const
It checks if the data source is valid (available for using).
DataSource(const te::core::URI &uri)
std::string getType() const
It returns the data source type name (in UPPER CASE). Ex: POSTGIS, SQLITE, WFS, WMS,...
void drop(const std::string &connInfo)
It removes the data source with the connection information from a driver.
te::da::DataSourceCapabilities capabilities
void verifyConnectionInfo() const
bool exists(const std::string &connInfo)
Check the existence of a data source in a driver.
An exception class for the XML module.
DataSource(const std::string &connInfo)
A class to store the proxy information that must be used to access data located in URIs.
void setupEnvironment() const
Sets up the enviroment before any atempt to make a request.
std::vector< std::string > getDataSourceNames(const std::string &connInfo)
It gets the data source names available in a driver.
GDALDataset * getOGRDataSource()
const std::vector< WFSLayerInfo > & getLayersInfo()
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
std::unique_ptr< te::da::DataSourceTransactor > getTransactor()
It returns the set of parameters used to set up the access channel to the underlying repository.
An abstract class for data providers like a DBMS, Web Services or a regular file.
void create(const std::string &connInfo)
It creates a new data source.
Proxy configuration file for TerraView (see terraview_config.h).
const te::da::SQLDialect * getDialect() const
It returns the data source SQL dialect, if there is one.
static te::da::DataSourceCapabilities sm_capabilities