27 #include "../common/Logger.h"
28 #include "../common/TerraLib.h"
29 #include "../common/Translator.h"
57 #ifdef TE_AUTOMATIC_INITIALIZATION
This internal structure is used to model the basic information about a TerraLib module.
Module()
Constructor. A singleton constructor is not callable outside the class.
This singleton defines the TerraLib Spatial Reference System module entry.
#define TE_SRS_TEXT_DOMAIN
It contains the name of the text domain used in the translation of messages in the TerraLib srs modul...
const te::at::Module & sm_module
This is a helper function that will be automatically called when the TerraLib Annotation Text module ...
A class to manage Coordinate Systems representations.
static void initialize()
This is the startup function for the TerraLib SRS module.
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level.
#define TR_SRS(message)
It marks a string in order to get translated. This is a special mark used in the SRS module of TerraL...
#define TE_SRS_MODULE_NAME
It defines the module name.
#define TE_SRS_TEXT_DOMAIN_DIR
It contains the translation catalog directory.
void remove(const std::string &moduleName)
It removes the module entry identified by the given name.
#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 finalize()
This is the cleanup function for the TerraLib SRS module.
static Module & getInstance()
It returns a reference to the singleton instance.
void add(const Module &m)
It registers the module in the TerraLib Platform.
void init()
Inializes the manager from a JSON file containing instances of SRSs.