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

Thrown on construction of a bad name. More...

#include <CLI11.hpp>

Inheritance diagram for CLI::BadNameString:
Collaboration diagram for CLI::BadNameString:

Public Member Functions

 BadNameString (std::string msg, ExitCodes exit_code)
 
 BadNameString (std::string msg, int exit_code)
 
 BadNameString (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 BadNameString OneCharName (std::string name)
 
static BadNameString BadLongName (std::string name)
 
static BadNameString DashesOnly (std::string name)
 
static BadNameString MultiPositionalNames (std::string name)
 

Protected Member Functions

 BadNameString (std::string ename, std::string msg, int exit_code)
 
 BadNameString (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 on construction of a bad name.

Constructor & Destructor Documentation

◆ BadNameString() [1/5]

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

◆ BadNameString() [2/5]

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

◆ BadNameString() [3/5]

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

◆ BadNameString() [4/5]

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

◆ BadNameString() [5/5]

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

Member Function Documentation

◆ BadLongName()

static BadNameString CLI::BadNameString::BadLongName ( std::string  name)
inlinestatic

◆ DashesOnly()

static BadNameString CLI::BadNameString::DashesOnly ( std::string  name)
inlinestatic

◆ MultiPositionalNames()

static BadNameString CLI::BadNameString::MultiPositionalNames ( std::string  name)
inlinestatic

◆ OneCharName()

static BadNameString CLI::BadNameString::OneCharName ( std::string  name)
inlinestatic

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