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

Description:


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:
[legend]
Collaboration diagram for Cli:
[legend]

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

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

Method Details:

◆ bootstrap()

void bootstrap ( BootstrapPhases phase)
overrideprotectedvirtual

Initializes module module ALib CLI .

Parameters
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)
inlineoverrideprotectedvirtual

Terminates this module. (Nothing to do.)

Parameters
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: