26 #ifndef __TERRALIB_WCS_INTERNAL_DATASOURCE_H
27 #define __TERRALIB_WCS_INTERNAL_DATASOURCE_H
30 #include "../dataaccess/datasource/DataSource.h"
31 #include "../dataaccess/datasource/DataSourceCapabilities.h"
56 std::string getType()
const;
58 const std::map<std::string, std::string>& getConnectionInfo()
const;
60 void setConnectionInfo(
const std::map<std::string, std::string>& connInfo);
62 std::auto_ptr<te::da::DataSourceTransactor> getTransactor();
68 bool isOpened()
const;
80 void create(
const std::map<std::string, std::string>& dsInfo);
82 void drop(
const std::map<std::string, std::string>& dsInfo);
84 bool exists(
const std::map<std::string, std::string>& dsInfo);
86 std::vector<std::string> getDataSourceNames(
const std::map<std::string, std::string>& dsInfo);
88 std::vector<te::common::CharEncoding> getEncodings(
const std::map<std::string, std::string>& dsInfo);
92 void verifyConnectionInfo()
const;
104 #endif // __TERRALIB_WCS_INTERNAL_DATASOURCE_H
#define TEWCSEXPORT
You can use this macro in order to export/import classes and functions from this module.
An exception class for the TerraLib WCS module.
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. ...
te::da::DataSourceCapabilities capabilities
Configuration flags for the TerraLib WCS module.
Implementation of the data source for the WCS driver.
static te::da::DataSourceCapabilities sm_capabilities
std::map< std::string, std::string > m_connectionInfo