ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
Config Class Reference

Description:


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>

Inheritance diagram for Config:
[legend]
Collaboration diagram for Config:
[legend]

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::ConfigurationGetConfig ()
 
const StringGetResource (const NString &name)
 
resources::ResourcePoolGetResourcePool ()
 
bool IsBootstrapped ()
 
void operator= (Camp &&)=delete
 
void operator= (const Camp &)=delete
 
const StringTryResource (const NString &name)
 

Additional Inherited Members

- Public Field Index: inherited from Camp
NCString ResourceCategory
 

Constructor(s) / Destructor Details::

◆ Config()

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.

Method Details:

◆ bootstrap()

void bootstrap ( BootstrapPhases phase)
overrideprotectedvirtual

Initializes this module.

Parameters
phaseThe initialization phase to perform.

Implements Camp.

Definition at line 52 of file config.cpp.

Here is the call graph for this function:

◆ shutdown()

virtual void shutdown ( ShutdownPhases phase)
inlineoverrideprotectedvirtual

Terminates this module. (Nothing to do.)

Parameters
phaseThe shutdown phase to perform.

Implements Camp.

Definition at line 74 of file config.hpp.


The documentation for this class was generated from the following files: