The module class.
This is a strict singleton class. The only instance is found with namespace variable alib::CONFIG.
Definition at line 52 of file config.hpp.
#include <config.hpp>
Public Method Index: | |
| Config () | |
Public Method Index: inherited from Camp | |
| Camp (Camp &&)=delete | |
| Camp (const Camp &)=delete | |
| Camp (const NCString &resourceCategory) | |
| virtual | ~Camp () |
| void | BootstrapResource (const NString &name, const String &data) |
| void | BootstrapSetConfig (config::Configuration *pConfig) |
| void | BootstrapSetResourcePool (lang::resources::ResourcePool *pool) |
| config::Configuration & | GetConfig () |
| const String & | GetResource (const NString &name) |
| resources::ResourcePool & | GetResourcePool () |
| bool | IsBootstrapped () |
| void | operator= (Camp &&)=delete |
| void | operator= (const Camp &)=delete |
| const String & | TryResource (const NString &name) |
Additional Inherited Members | |
Public Field Index: inherited from Camp | |
| NCString | ResourceCategory |
| Config | ( | ) |
Constructor.
While this is public, it must not be invoked as this is a strict singleton type. (See notes in 3.2 Class Camp).
Definition at line 44 of file config.cpp.
|
overrideprotectedvirtual |
Initializes this module.
| phase | The initialization phase to perform. |
Implements Camp.
Definition at line 52 of file config.cpp.
|
inlineoverrideprotectedvirtual |
Terminates this module. (Nothing to do.)
| phase | The shutdown phase to perform. |
Implements Camp.
Definition at line 74 of file config.hpp.