sisi4s
Loading...
Searching...
No Matches
CLI::IncorrectConstruction Class Reference

Thrown when an option is set to conflicting values (non-vector and multi args, for example) More...

#include <CLI11.hpp>

Inheritance diagram for CLI::IncorrectConstruction:
Collaboration diagram for CLI::IncorrectConstruction:

Public Member Functions

 IncorrectConstruction (std::string msg, ExitCodes exit_code)
 
 IncorrectConstruction (std::string msg, int exit_code)
 
 IncorrectConstruction (std::string msg)
 
- Public Member Functions inherited from CLI::ConstructionError
 ConstructionError (std::string msg, ExitCodes exit_code)
 
 ConstructionError (std::string msg, int exit_code)
 
- Public Member Functions inherited from CLI::Error
int get_exit_code () const
 
std::string get_name () const
 
 Error (std::string name, std::string msg, int exit_code=static_cast< int >(ExitCodes::BaseClass))
 
 Error (std::string name, std::string msg, ExitCodes exit_code)
 

Static Public Member Functions

static IncorrectConstruction PositionalFlag (std::string name)
 
static IncorrectConstruction Set0Opt (std::string name)
 
static IncorrectConstruction SetFlag (std::string name)
 
static IncorrectConstruction ChangeNotVector (std::string name)
 
static IncorrectConstruction AfterMultiOpt (std::string name)
 
static IncorrectConstruction MissingOption (std::string name)
 
static IncorrectConstruction MultiOptionPolicy (std::string name)
 

Protected Member Functions

 IncorrectConstruction (std::string ename, std::string msg, int exit_code)
 
 IncorrectConstruction (std::string ename, std::string msg, ExitCodes exit_code)
 
- Protected Member Functions inherited from CLI::ConstructionError
 ConstructionError (std::string ename, std::string msg, int exit_code)
 
 ConstructionError (std::string ename, std::string msg, ExitCodes exit_code)
 

Detailed Description

Thrown when an option is set to conflicting values (non-vector and multi args, for example)

Constructor & Destructor Documentation

◆ IncorrectConstruction() [1/5]

CLI::IncorrectConstruction::IncorrectConstruction ( std::string  ename,
std::string  msg,
int  exit_code 
)
inlineprotected

◆ IncorrectConstruction() [2/5]

CLI::IncorrectConstruction::IncorrectConstruction ( std::string  ename,
std::string  msg,
ExitCodes  exit_code 
)
inlineprotected

◆ IncorrectConstruction() [3/5]

CLI::IncorrectConstruction::IncorrectConstruction ( std::string  msg,
ExitCodes  exit_code 
)
inline

◆ IncorrectConstruction() [4/5]

CLI::IncorrectConstruction::IncorrectConstruction ( std::string  msg,
int  exit_code 
)
inline

◆ IncorrectConstruction() [5/5]

CLI::IncorrectConstruction::IncorrectConstruction ( std::string  msg)
inlineexplicit

Member Function Documentation

◆ AfterMultiOpt()

static IncorrectConstruction CLI::IncorrectConstruction::AfterMultiOpt ( std::string  name)
inlinestatic

◆ ChangeNotVector()

static IncorrectConstruction CLI::IncorrectConstruction::ChangeNotVector ( std::string  name)
inlinestatic

◆ MissingOption()

static IncorrectConstruction CLI::IncorrectConstruction::MissingOption ( std::string  name)
inlinestatic

◆ MultiOptionPolicy()

static IncorrectConstruction CLI::IncorrectConstruction::MultiOptionPolicy ( std::string  name)
inlinestatic

◆ PositionalFlag()

static IncorrectConstruction CLI::IncorrectConstruction::PositionalFlag ( std::string  name)
inlinestatic

◆ Set0Opt()

static IncorrectConstruction CLI::IncorrectConstruction::Set0Opt ( std::string  name)
inlinestatic

◆ SetFlag()

static IncorrectConstruction CLI::IncorrectConstruction::SetFlag ( std::string  name)
inlinestatic

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