26 #ifndef __TERRALIB_GPKG_INTERNAL_DATASOURCE_H 
   27 #define __TERRALIB_GPKG_INTERNAL_DATASOURCE_H 
   30 #include "../Config.h" 
   31 #include "../../../../dataaccess/datasource/DataSource.h" 
   32 #include "../../../../dataaccess/datasource/DataSourceCapabilities.h" 
   33 #include "../../../../dataaccess/dataset/DataSetType.h" 
   59         std::string getType() 
const;
 
   61         const std::map<std::string, std::string>& getConnectionInfo() 
const;
 
   63         void setConnectionInfo(
const std::map<std::string, std::string>& connInfo);
 
   65         std::auto_ptr<te::da::DataSourceTransactor> getTransactor();
 
   71         bool isOpened() 
const;
 
   79         void createDataSet(
te::da::DataSetType* dt, 
const std::map<std::string, std::string>& options);
 
   84         GDALDataset* getOGRDataSource();
 
   88         void create(
const std::map<std::string, std::string>& dsInfo);
 
   90         void drop(
const std::map<std::string, std::string>& dsInfo);
 
   92         bool exists(
const std::map<std::string, std::string>& dsInfo);
 
   94         std::vector<std::string> getDataSourceNames(
const std::map<std::string, std::string>& dsInfo);
 
   96         std::vector<te::common::CharEncoding> getEncodings(
const std::map<std::string, std::string>& dsInfo);
 
  114 #endif  // __TERRALIB_GPKG_INTERNAL_DATASOURCE_H 
te::da::SQLDialect * dialect
bool m_isInTransaction
Tells if there is a transaction in progress. 
GDALDataset * m_ogrDS
A pointer to OGR Data Source. 
A class that models the description of a dataset. 
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. ...
static te::da::SQLDialect * sm_myDialect
OGR SQL dialect. 
std::map< std::string, std::string > m_connectionInfo
Connection information. 
te::da::DataSourceCapabilities m_capabilities
OGR capabilities. 
bool m_isValid
True if this is a valid datasource. 
#define TERRAMOBILEPLUGINSDLLEXPORT
The OGR data source provider.