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"    60         std::string getType() 
const;
    62         std::auto_ptr<te::da::DataSourceTransactor> getTransactor();
    68         bool isOpened() 
const;
    76         void createDataSet(
te::da::DataSetType* dt, 
const std::map<std::string, std::string>& options);
    80         GDALDataset* getOGRDataSource();
    82         void createOGRDataSource();
    91         void create(
const std::string& connInfo);
    93         void drop(
const std::string& connInfo);
    95         bool exists(
const std::string& connInfo);
    97         std::vector<std::string> getDataSourceNames(
const std::string& connInfo);
   113 #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. 
 
te::da::DataSource * Build(const te::core::URI &uri)
 
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. 
 
EncodingType
Supported character encodings. 
 
te::core::EncodingType m_encoding
The data source encoding type. 
 
The OGR data source provider. 
 
Configuration flags for the OGR Driver Implementation of TerraLib. 
 
A class for representing an Uniform Resource Identifier (URI). 
 
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.