SNode.C
Loading...
Searching...
No Matches
CLI::CallForCommandline Class Reference

#include <Exceptions.h>

Inheritance diagram for CLI::CallForCommandline:
Collaboration diagram for CLI::CallForCommandline:

Public Types

enum class  Mode { REQUIRED , STANDARD , FULL , DEFAULT }
 

Public Member Functions

 CallForCommandline (CLI::App *app, const std::string &description, Mode mode)
 
 ~CallForCommandline () override
 
CLI::App * getApp () const
 
Mode getMode () const
 

Private Attributes

CLI::App * app
 
Mode mode
 

Detailed Description

Definition at line 48 of file Exceptions.h.

Member Enumeration Documentation

◆ Mode

enum class CLI::CallForCommandline::Mode
strong
Enumerator
REQUIRED 
STANDARD 
FULL 
DEFAULT 

Definition at line 50 of file Exceptions.h.

Constructor & Destructor Documentation

◆ CallForCommandline()

CLI::CallForCommandline::CallForCommandline ( CLI::App * app,
const std::string & description,
Mode mode )

Definition at line 30 of file Exceptions.cpp.

31 : CLI::Success("CallForCommandline", description, CLI::ExitCodes::Success)
32 , app(app)
33 , mode(mode) {
34 }

References app, CallForCommandline(), and mode.

Referenced by CallForCommandline().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~CallForCommandline()

CLI::CallForCommandline::~CallForCommandline ( )
override

Definition at line 36 of file Exceptions.cpp.

36 {
37 }

Member Function Documentation

◆ getApp()

CLI::App * CLI::CallForCommandline::getApp ( ) const

Definition at line 39 of file Exceptions.cpp.

39 {
40 return app;
41 }

References app.

◆ getMode()

CallForCommandline::Mode CLI::CallForCommandline::getMode ( ) const

Definition at line 43 of file Exceptions.cpp.

43 {
44 return mode;
45 }

References mode.

Member Data Documentation

◆ app

CLI::App* CLI::CallForCommandline::app
private

Definition at line 59 of file Exceptions.h.

Referenced by CallForCommandline(), and getApp().

◆ mode

Mode CLI::CallForCommandline::mode
private

Definition at line 60 of file Exceptions.h.

Referenced by CallForCommandline(), and getMode().


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