srchilite::Instances Class Reference
This class contains static and singleton instances for some utility classes for LangDefManagers, LangMap, etc.
More...
#include <instances.h>
Static Public Member Functions
Reloads files (using the new settings) for each single instances.
Deletes all static instances.
More...
Detailed Description
This class contains static and singleton instances for some utility classes for LangDefManagers, LangMap, etc.
Using this class ensures to use always the same instance for doing these tasks, and if you change the global settings, through Settings, you can reload() the files of these instances using the new settings, thus enforcing consistency within a program using this library.
- Since
- 3.1.1
Member Function Documentation
LangMap * srchilite::Instances::getLangMap
(
)
static
- Returns
- the instance for LangMap for lang files
LangMap * srchilite::Instances::getOutLangMap
(
)
static
- Returns
- the instance for LangMap for outlang files
void srchilite::Instances::unload
(
)
static
Deletes all static instances.
This is not necessary, but if you're sure you're not using the library anymore in your program, you can free some memory.
The documentation for this class was generated from the following files:
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/instances.h
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/instances.cpp