Doxygen XLinks
by
V: 2511R0
Website: doxygen
Loading...
Searching...
No Matches
dxl::DXLApp Class Reference

Description:

class DXLApp

Definition at line 37 of file dxlapp.hpp.

#include <dxlapp.hpp>

Inheritance diagram for dxl::DXLApp:
alib::app::AppCli alib::app::App

Public Method Index:

 DXLApp ()
 Constructor.
alib::lox::LoxGetRLox () final
Public Method Index: inherited from alib::app::App
virtual void exceptionDisplay (Exception &exception, AString &target)
virtual void getConfigFilePathsFromResources (StdVectorMA< ConfigFileDescriptor > &files)
virtual void getConfigFilePathsMakeAbsolutePaths (StdVectorMA< ConfigFileDescriptor > &files)
String GetInfo ()
String GetName ()
virtual lox::textlogger::TextLoggerGetRLogger ()
String GetVersion ()
virtual int Main (int argc, const char **argv, const wchar_t **argvw=nullptr)
virtual void onBsFinalizeBootstrap ()
virtual void onBsImportConfig ()
virtual void onBsSetCamps ()
virtual void onBsSetupALox ()
virtual void onSdAnnounceShutdown ()
virtual void onSdCleanALox ()
virtual void onSdExportConfig ()
virtual void onSdFinalizeShutdown ()
virtual void onSdOutput ()
virtual void printConfigFileInfo (Paragraphs &target)

Protected Type Index:

enum class  CustomStates { CLIDefine , ReadDryRunOption , ConfigureCLI }
 Custom States of this AppCli application. More...
Protected Type Index: inherited from alib::app::AppCli
enum  States
Protected Type Index: inherited from alib::app::App
enum  Flags
enum  States

Protected Field Index:

alib::String DoxyfilePath = nullptr
 The file path of the Doxyfile as given on the command line.
DoxygenXLinks * dxl = nullptr
 The instance of the main class. todox.
alib::Path PWD
Protected Field Index: inherited from alib::app::AppCli
cli::CommandLine cli
bool cliStop
Protected Field Index: inherited from alib::app::App
camp::CampappCamp
String appInfo
String appName
String appVersion
ParagraphscErr
ParagraphscOut
Flags flags
StateMachine machine
lox::textlogger::TextLoggerreleaseLogger
String releaseLoggerName
lox::LoxreleaseLox
String releaseLoxName
StopWatch stopWatch

Protected Method Index:

void bsCLIDefine () override
 Defines ALib CLI entities specific to DoxygenXLinks.
bool cliProcessCmd (alib::cli::Command *cmd) override
alib::Enum exceptionToExitCode (alib::Exception &e) override
void onBsPrepareConfig () override
 Bootstraps enum records.
void onBsPrepareResources () override
 Bulk-loads DoxygenXLinks specific resource strings into module APPCLI_CAMP.
void onBsSetNameVersionAndInfo () override
void onRunEnd () override
 Waits for our thread-pool to become idle, shuts it down, and deletes it.
Protected Method Index: inherited from alib::app::AppCli
virtual void bsCLIReadOptions ()
virtual void bsConfigureCLI ()
virtual void bsReadDryRunOption ()
virtual void exitWithHelpOutput (Enum exitCode, const String &helpTopic=NULL_STRING, Box formatParam1=EMPTY_STRING, Box formatParam2=EMPTY_STRING)
void getConfigFilePaths (StdVectorMA< ConfigFileDescriptor > &files) override
virtual void getConfigFilePathsFromCLIParam (StdVectorMA< ConfigFileDescriptor > &files)
void onBsPreloadVariables () override
void onRun () override
void onRunStart () override
Protected Method Index: inherited from alib::app::App
 App (camp::Camp *appCamp)

Additional Inherited Members

Public Type Index: inherited from alib::app::App
enum  BuiltInExitCodes
enum  Exceptions

◆ DoxygenINIFile

friend struct DoxygenINIFile
friend

Definition at line 38 of file dxlapp.hpp.

◆ DoxygenXLinks

friend class DoxygenXLinks
friend

Definition at line 39 of file dxlapp.hpp.

◆ HTMLReplacer

friend struct HTMLReplacer
friend

Definition at line 42 of file dxlapp.hpp.

◆ Index

friend class Index
friend

Definition at line 40 of file dxlapp.hpp.

◆ SourceLocationFinder

friend struct SourceLocationFinder
friend

Definition at line 43 of file dxlapp.hpp.

◆ SourceReplacer

friend struct SourceReplacer
friend

Definition at line 44 of file dxlapp.hpp.

◆ XLink

friend class XLink
friend

Definition at line 41 of file dxlapp.hpp.

Enumeration Details:

◆ CustomStates

enum class dxl::DXLApp::CustomStates
strongprotected

Custom States of this AppCli application.

Enumerator
CLIDefine 

Inserted before App::PrepareConfig.

ReadDryRunOption 

Inserted before SetupALox.

ConfigureCLI 

Inserted after ImportConfig.

Definition at line 86 of file dxlapp.hpp.

Field Details:

◆ DoxyfilePath

alib::String dxl::DXLApp::DoxyfilePath = nullptr
protected

The file path of the Doxyfile as given on the command line.

Definition at line 56 of file dxlapp.hpp.

◆ dxl

DoxygenXLinks* dxl::DXLApp::dxl = nullptr
protected

The instance of the main class. todox.

Definition at line 49 of file dxlapp.hpp.

◆ PWD

alib::Path dxl::DXLApp::PWD
protected

The working directory. Either given with –PWD or detected as the current execution directory.

Definition at line 53 of file dxlapp.hpp.

Constructor(s) / Destructor Details:

◆ DXLApp()

dxl::DXLApp::DXLApp ( )

Constructor.

Definition at line 27 of file dxlapp.cpp.

Method Details:

◆ bsCLIDefine()

void dxl::DXLApp::bsCLIDefine ( )
overrideprotectedvirtual

Defines ALib CLI entities specific to DoxygenXLinks.

Reimplemented from alib::app::AppCli.

Definition at line 431 of file dxlapp.cpp.

◆ cliProcessCmd()

bool dxl::DXLApp::cliProcessCmd ( alib::cli::Command * cmd)
overrideprotectedvirtual

Processes DoxygenXLinks commands.

Parameters
cmdThe command to process or nullptr for default execution.
Returns
true if the command was processed. false otherwise.

Reimplemented from alib::app::AppCli.

Definition at line 440 of file dxlapp.cpp.

◆ exceptionToExitCode()

alib::Enum dxl::DXLApp::exceptionToExitCode ( alib::Exception & e)
overrideprotectedvirtual

Todo: remove test: onBsPrepareResources() Todo: probably removed.

Parameters
eThe exception to be analyzed.
Returns
todo

Reimplemented from alib::app::AppCli.

Definition at line 401 of file dxlapp.cpp.

◆ GetRLox()

alib::lox::Lox * dxl::DXLApp::GetRLox ( )
inlinefinalvirtual
Returns
The release lox of this application. This component of ALib Module ALox is used to generate verbose output accross this project.

Reimplemented from alib::app::App.

Definition at line 102 of file dxlapp.hpp.

◆ onBsPrepareConfig()

void dxl::DXLApp::onBsPrepareConfig ( )
overrideprotectedvirtual

Bootstraps enum records.

Reimplemented from alib::app::App.

Definition at line 369 of file dxlapp.cpp.

◆ onBsPrepareResources()

void dxl::DXLApp::onBsPrepareResources ( )
overrideprotectedvirtual

Bulk-loads DoxygenXLinks specific resource strings into module APPCLI_CAMP.

Reimplemented from alib::app::App.

Definition at line 34 of file dxlapp.cpp.

◆ onBsSetNameVersionAndInfo()

void dxl::DXLApp::onBsSetNameVersionAndInfo ( )
overrideprotectedvirtual

Sets the field appVersion and then invokes the parent implementation onBsSetNameVersionAndInfo.

Reimplemented from alib::app::AppCli.

Definition at line 421 of file dxlapp.cpp.

◆ onRunEnd()

void dxl::DXLApp::onRunEnd ( )
overrideprotectedvirtual

Waits for our thread-pool to become idle, shuts it down, and deletes it.

Reimplemented from alib::app::AppCli.

Definition at line 458 of file dxlapp.cpp.


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