26 #ifndef __TERRALIB_OGR_INTERNAL_DATASOURCE_H 
   27 #define __TERRALIB_OGR_INTERNAL_DATASOURCE_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_OGR_INTERNAL_DATASOURCE_H 
An exception class for the OGR module. 
 
te::da::SQLDialect * dialect
 
A class that models the description of a dataset. 
 
#define TEOGREXPORT
You can use this macro in order to export/import classes and functions from this 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...
 
bool m_isInTransaction
Tells if there is a transaction in progress. 
 
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
 
te::da::DataSourceCapabilities m_capabilities
OGR capabilities. 
 
std::map< std::string, std::string > m_connectionInfo
Connection information. 
 
The OGR data source provider. 
 
Configuration flags for the OGR Driver Implementation of TerraLib. 
 
GDALDataset * m_ogrDS
A pointer to OGR Data Source. 
 
static te::da::SQLDialect * sm_myDialect
OGR SQL dialect. 
 
bool m_isValid
True if this is a valid datasource.