Go to the documentation of this file.
28 #ifndef __TERRALIB_WS_OGC_WCS_DATAACCESS_DATASOURCE_H
29 #define __TERRALIB_WS_OGC_WCS_DATAACCESS_DATASOURCE_H
38 #include "../../../../dataaccess/datasource/DataSource.h"
39 #include "../../../../dataaccess/datasource/DataSourceCapabilities.h"
40 #include "../client/WCSClient.h"
92 void create(
const std::string& connInfo);
94 void drop(
const std::string& connInfo);
96 bool exists(
const std::string& connInfo);
100 std::vector<te::core::EncodingType>
getEncodings(
const std::string& connInfo);
108 std::shared_ptr<te::ws::ogc::WCSClient>
m_wcs;
119 #endif // __TERRALIB_WS_OGC_WCS_DATAACCESS_DATASOURCE_H
DataSource(const std::string &connInfo)
const te::da::SQLDialect * getDialect() const
It returns the data source SQL dialect, if there is one.
bool exists(const std::string &connInfo)
Check the existence of a data source in a driver.
It represents the SQL query dialect accepted by a given data source.
~DataSource()
Virtual destructor.
void create(const std::string &connInfo)
It creates a new data source.
bool isOpened() const
It returns true if the data source is opened, otherwise it returns false.
static te::da::DataSourceCapabilities sm_capabilities
DataSource(const te::core::URI &uri)
void drop(const std::string &connInfo)
It removes the data source with the connection information from a driver.
Implementation of the data source for the WCS driver.
te::da::DataSourceCapabilities capabilities
An exception class for the XML module.
std::vector< std::string > getDataSourceNames(const std::string &connInfo)
It gets the data source names available in a driver.
A class to store the proxy information that must be used to access data located in URIs.
const te::da::DataSourceCapabilities & getCapabilities() const
It returns the known capabilities of the data source.
#define TEOGCWCSDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::shared_ptr< te::ws::ogc::WCSClient > m_wcs
static void setCapabilities(const te::da::DataSourceCapabilities &capabilities)
void verifyConnectionInfo() const
void close()
It closes the data source and clears all the resources used by its internal communication channel.
std::string getType() const
It returns the data source type name (in UPPER CASE). Ex: POSTGIS, SQLITE, WFS, WMS,...
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.
Proxy configuration file for TerraView (see terraview_config.h).
std::shared_ptr< te::ws::ogc::WCSClient > getWCSClient() const
bool isValid() const
It checks if the data source is valid (available for using).
void open()
It opens the data source and makes it ready for using.
std::unique_ptr< te::da::DataSourceTransactor > getTransactor()
It returns the set of parameters used to set up the access channel to the underlying repository.
std::vector< te::core::EncodingType > getEncodings(const std::string &connInfo)