27 #include "../common/Logger.h"
28 #include "../plugin/PluginInfo.h"
29 #include "../dataaccess/datasource/DataSourceCapabilities.h"
30 #include "../dataaccess/datasource/DataSourceFactory.h"
31 #include "../dataaccess/datasource/DataSourceManager.h"
38 #include <gdal_priv.h>
41 : te::plugin::Plugin(pluginInfo)
109 m_initialized =
false;
te::da::DataSetCapabilities dataSetCapabilities
static void initialize()
It initializes the factory: the singleton instance will be registered in the abstract factory DataSou...
Configuration flags for the GDAL Driver of TerraLib.
The basic information about a plugin.
te::da::DataTypeCapabilities dataTypeCapabilities
void startup()
This method will be called by TerraLib to startup some plugin's functionality.
A factory for data sources.
void setSupportRaster(const bool &support)
static void setCapabilities(const te::da::DataSourceCapabilities &capabilities)
The TerraLib OGR driver is a plugin.
void setAccessPolicy(const te::common::AccessPolicy &accessPolicy)
void setSupportTransactions(const bool &support)
void setSupportEfficientDataSetSize(const bool &support)
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
A class that informs what kind of constraint and index is supported by a given data source...
void setQueryCapabilities(const QueryCapabilities &capabilities)
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level.
void shutdown()
This method will be called by TerraLib to shutdown plugin's functionality.
#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...
A class that informs the query support of a given data source.
te::da::QueryCapabilities queryCapabilities
This is the concrete factory for GDAL rasters.
void setDataSetTypeCapabilities(const DataSetTypeCapabilities &capabilities)
#define TE_ADD_TEXT_DOMAIN(domain, domaindir, codeset)
It adds the given text domain located at domain-dir with the given codeset to the multilingual system...
The TerraLib GDAL driver is a plugin.
static void remove(const std::string &dsType)
#define TE_GDAL_TEXT_DOMAIN
It contains the name of the text domain used in the translation of messages in TerraLib Coverage modu...
A class that informs what the dataset implementation of a given data source can perform.
#define TE_GDAL_DRIVER_IDENTIFIER
void setDataTypeCapabilities(const DataTypeCapabilities &capabilities)
static DataSourceManager & getInstance()
It returns a reference to the singleton instance.
Module(const te::plugin::PluginInfo &pluginInfo)
Plugin constructor.
A class that represents the supported data types of a specific data source.
te::da::DataSetTypeCapabilities dataSetTypeCapabilities
#define TE_GDAL_TEXT_DOMAIN_DIR
It contains the translation catalog directory.
te::da::DataSource * Build()
te::da::DataSourceCapabilities capabilities
static void finalize()
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the ...
#define TR_GDAL(message)
It marks a string in order to get translated. This is a special mark used in the Vector Geometry modu...
static void add(const std::string &dsType, FactoryFnctType f)
void setDataSetCapabilities(const DataSetCapabilities &capabilities)