27 #include "../dataaccess/datasource/DataSourceCapabilities.h" 
   28 #include "../dataaccess/datasource/DataSourceFactory.h" 
   29 #include "../dataaccess/datasource/DataSourceManager.h" 
   30 #include "../dataaccess/query/SQLDialect.h" 
   31 #include "../dataaccess/serialization/xml/Serializer.h" 
   37 #include <boost/filesystem.hpp> 
   42 #ifdef TE_ENABLE_SPATIALITE 
   44 #include <spatialite.h> 
   49   : te::plugin::Plugin(pluginInfo)
 
   62   sqlite3_config(SQLITE_CONFIG_SERIALIZED);
 
   66 #ifdef TE_ENABLE_SPATIALITE 
   70   boost::filesystem::path driverpath(m_pluginInfo.m_folder);
 
   72   boost::filesystem::path capabilitiesFile = driverpath / 
"spatialite-capabilities.xml";
 
   98   m_initialized = 
false;
 
te::da::SQLDialect * dialect
 
void startup()
Do nothing! Just set plugin as started. 
 
It represents the SQL query dialect accepted by a given data source. 
 
The TerraLib SQLite Data Access driver implements the plugin interface. 
 
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
 
TEDATAACCESSEXPORT void Read(const std::string &dialectFileName, te::da::DataSourceCapabilities &capabilities, te::da::SQLDialect &dialect)
 
Module(const te::plugin::PluginInfo &pluginInfo)
 
#define PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME)
This macro should be used by C++ plugins in order to declare the exportable/callable DLL function...
 
static void set(te::da::DataSourceCapabilities *capabilities)
 
static DataSourceManager & getInstance()
It returns a reference to the singleton instance. 
 
A factory for data sources. 
 
void shutdown()
Do nothing! Just set plugin as stopped. 
 
Implements the DataSource class for the SQLite Data Access Driver. 
 
static void add(const std::string &dsType, FactoryFnctType f)
 
The basic information about a plugin. 
 
static void remove(const std::string &dsType)
 
te::da::DataSource * Build()