This is a strict singleton class representing module ALib Files .
The only instance is found with namespace variable alib::files.
Definition at line 31 of file filescamp.hpp.
#include <filescamp.hpp>
Public Method Index: | |
ALIB_API | Files () |
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 |
Files | ( | ) |
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 34 of file filescamp.cpp.
|
overrideprotectedvirtual |
Initializes this module.
phase | The initialization phase to perform. |
Implements Camp.
Definition at line 42 of file filescamp.cpp.
|
inlineoverrideprotectedvirtual |
Terminates this module. (Nothing to do.)
Implements Camp.
Definition at line 54 of file filescamp.hpp.