ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
No Matches
Cli Class Reference


The module class for module ALib CLI .

This is a strict singleton class. The only instance is found with namespace variable alib::CLI.

Definition at line 33 of file cli.hpp.

#include <cli.hpp>

Inheritance diagram for Cli:
Collaboration diagram for Cli:

Public Method Index:

 Cli ()
- 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::

◆ Cli()

Cli ( )

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 41 of file cli.cpp.

Method Details:

◆ bootstrap()

void bootstrap ( BootstrapPhases phase)

Initializes module module ALib CLI .

phaseThe initialization phase to perform.

Implements Camp.

Definition at line 49 of file cli.cpp.

Here is the call graph for this function:

◆ shutdown()

virtual void shutdown ( ShutdownPhases phase)

Terminates this module. (Nothing to do.)

phaseThe shutdown phase to perform.

Implements Camp.

Definition at line 55 of file cli.hpp.

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