27 #include "../common/Logger.h"
28 #include "../common/TerraLib.h"
29 #include "../common/Translator.h"
30 #include "../dataaccess/datasource/DataSourceFactory.h"
A factory for data sources.
This internal structure is used to model the basic information about a TerraLib module.
Module()
The singleton constructor is not callable outside the class.
#define TE_STMEMORY_TEXT_DOMAIN
It contains the name of the text domain used in the translation of messages in TerraLib ST memory mod...
This singleton defines the TerraLib st memory module entry. This module is a driver for in-memory spa...
const te::at::Module & sm_module
This is a helper function that will be automatically called when the TerraLib Annotation Text module ...
This singleton defines the TerraLib st memory module entry.
#define TE_STMEMORY_DRIVER_IDENTIFIER
The ST In-Memory driver identifier string.
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level.
#define TR_STMEMORY(message)
It marks a string in order to get translated. This is a special mark used in the ST memory module of ...
void remove(const std::string &moduleName)
It removes the module entry identified by the given name.
#define TE_STMEMORY_MODULE_NAME
The st memory module identifier string.
static void finalize()
This is the cleanup function for the TerraLib st memory module support.
#define TE_STMEMORY_TEXT_DOMAIN_DIR
It contains the translation catalog directory.
te::da::DataSource * Build()
#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...
static void remove(const std::string &dsType)
static void initialize()
This is the startup function for the TerraLib st memory module support.
static T & getInstance()
It returns a reference to the singleton instance.
void add(const Module &m)
It registers the module in the TerraLib Platform.
static void add(const std::string &dsType, FactoryFnctType f)
Implements a DataSource that contains st memory DataSets indexed by space and time.