27 #include "../common/Logger.h" 
   28 #include "../common/TerraLib.h" 
   29 #include "../common/Translator.h" 
This internal structure is used to model the basic information about a TerraLib module. 
 
#define TE_COLOR_MODULE_NAME
 
Module()
The singleton constructor is not callable outside the class. 
 
Configuration flags for the Color module of TerraLib. 
 
#define TR_COLOR(message)
It marks a string in order to get translated. This is a special mark used in the Color module of Terr...
 
const te::at::Module & sm_module
This is a helper function that will be automatically called when the TerraLib Annotation Text module ...
 
#define TE_COLOR_TEXT_DOMAIN_DIR
It contains the translation catalog directory. 
 
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level. 
 
#define TE_COLOR_TEXT_DOMAIN
It contains the name of the text domain used in the translation of messages in the TerraLib Color mod...
 
void remove(const std::string &moduleName)
It removes the module entry identified by the given name. 
 
static void initialize()
This is the startup function for the TerraLib Color module. 
 
#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 Module & getInstance()
It returns a reference to the singleton instance. 
 
This singleton defines the TerraLib Color module entry. 
 
void add(const Module &m)
It registers the module in the TerraLib Platform. 
 
This singleton defines the TerraLib Color module entry. 
 
static void finalize()
This is the cleanup function for the TerraLib Color module.