ONE - On-device Neural Engine
|
simple exception class for invalid options More...
#include <CommandLine.h>
Public Member Functions | |
BadOption (const std::string &msg, std::string optname="", std::string value="") | |
const std::string & | getName () const |
get name for invalid option | |
const std::string & | getValue () const |
get value for invalid option | |
simple exception class for invalid options
Definition at line 37 of file CommandLine.h.
|
inlineexplicit |
Definition at line 40 of file CommandLine.h.
|
inline |
get name for invalid option
Definition at line 48 of file CommandLine.h.
Referenced by nnc::cli::CommandLine::parseCommandLine().
|
inline |
get value for invalid option
Definition at line 53 of file CommandLine.h.
Referenced by nnc::cli::CommandLine::parseCommandLine().