5#ifndef COMMAND_LINE_OPTIONS_HXX
6#define COMMAND_LINE_OPTIONS_HXX
38 class exception:
public std::exception
42 print (std::ostream&)
const = 0;
87 std::
string argument_;
Definition actionstatemachine/CommandLineOptions.hxx:167
virtual const char * next()
virtual const char * peek()
argv_scanner(int start, int &argc, char **argv, bool erase=false)
argv_scanner(int &argc, char **argv, bool erase=false)
Definition actionstatemachine/CommandLineOptions.hxx:138
virtual const char * what() const
virtual void print(std::ostream &) const
Definition actionstatemachine/CommandLineOptions.hxx:39
virtual void print(std::ostream &) const =0
Definition actionstatemachine/CommandLineOptions.hxx:112
void print(std::ostream &) const override
Definition actionstatemachine/CommandLineOptions.cxx:77
invalid_value(std::string option, std::string value)
Definition actionstatemachine/CommandLineOptions.ixx:73
const char * what() const override
Definition actionstatemachine/CommandLineOptions.cxx:84
const std::string & value() const
Definition actionstatemachine/CommandLineOptions.ixx:86
const std::string & option() const
Definition actionstatemachine/CommandLineOptions.ixx:80
Definition actionstatemachine/CommandLineOptions.hxx:91
void print(std::ostream &) const override
Definition actionstatemachine/CommandLineOptions.cxx:59
const std::string & option() const
Definition actionstatemachine/CommandLineOptions.ixx:65
const char * what() const override
Definition actionstatemachine/CommandLineOptions.cxx:65
missing_value(std::string option)
Definition actionstatemachine/CommandLineOptions.ixx:59
Definition actionstatemachine/CommandLineOptions.hxx:148
virtual const char * peek()=0
virtual const char * next()=0
Definition actionstatemachine/CommandLineOptions.hxx:70
unknown_argument(std::string argument)
Definition actionstatemachine/CommandLineOptions.ixx:45
virtual ~unknown_argument()
void print(std::ostream &) const override
Definition actionstatemachine/CommandLineOptions.cxx:41
const std::string & argument() const
Definition actionstatemachine/CommandLineOptions.ixx:51
const char * what() const override
Definition actionstatemachine/CommandLineOptions.cxx:47
Definition actionstatemachine/CommandLineOptions.hxx:15
value
Definition actionstatemachine/CommandLineOptions.hxx:18
@ stop
Definition actionstatemachine/CommandLineOptions.hxx:20
@ fail
Definition actionstatemachine/CommandLineOptions.hxx:21
@ skip
Definition actionstatemachine/CommandLineOptions.hxx:19
Definition actionstatemachine/CommandLineOptions.hxx:49
unknown_option(std::string option)
Definition actionstatemachine/CommandLineOptions.ixx:31
const std::string & option() const
Definition actionstatemachine/CommandLineOptions.ixx:37
const char * what() const override
Definition actionstatemachine/CommandLineOptions.cxx:29
void print(std::ostream &) const override
Definition actionstatemachine/CommandLineOptions.cxx:23
virtual ~unknown_option()
Definition actionstatemachine/CommandLineOptions.hxx:198
bool time_stamp_
Definition config/CommandLineOptions.hxx:289
const bool & version() const
const std::string & check_hotplug_extension() const
Definition config/CommandLineOptions.ixx:172
std::string check_hotplug_extension_
Definition config/CommandLineOptions.hxx:291
const bool & complete_version() const
Definition config/CommandLineOptions.ixx:154
bool print_paths_
Definition config/CommandLineOptions.hxx:285
options(int start, int &argc, char **argv, int &end, bool erase=false, ::cli::unknown_mode option=::cli::unknown_mode::fail, ::cli::unknown_mode argument=::cli::unknown_mode::stop)
const bool & help() const
const bool & time_stamp() const
Definition config/CommandLineOptions.ixx:160
const bool & bug_report_info() const
Definition config/CommandLineOptions.ixx:166
bool short_version_
Definition config/CommandLineOptions.hxx:287
static void print_usage(::std::ostream &)
bool version_
Definition actionstatemachine/CommandLineOptions.hxx:264
options(int &argc, char **argv, bool erase=false, ::cli::unknown_mode option=::cli::unknown_mode::fail, ::cli::unknown_mode argument=::cli::unknown_mode::stop)
bool config_
Definition config/CommandLineOptions.hxx:283
const bool & config_json() const
Definition config/CommandLineOptions.ixx:130
bool config_json_
Definition config/CommandLineOptions.hxx:284
const bool & config() const
Definition config/CommandLineOptions.ixx:124
const bool & print_paths() const
Definition config/CommandLineOptions.ixx:136
bool complete_version_
Definition config/CommandLineOptions.hxx:288
bool bug_report_info_
Definition config/CommandLineOptions.hxx:290
bool camitk_dir_
Definition config/CommandLineOptions.hxx:286
options(int &argc, char **argv, int &end, bool erase=false, ::cli::unknown_mode option=::cli::unknown_mode::fail, ::cli::unknown_mode argument=::cli::unknown_mode::stop)
options(int start, int &argc, char **argv, bool erase=false, ::cli::unknown_mode option=::cli::unknown_mode::fail, ::cli::unknown_mode argument=::cli::unknown_mode::stop)
options(::cli::scanner &, ::cli::unknown_mode option=::cli::unknown_mode::fail, ::cli::unknown_mode argument=::cli::unknown_mode::stop)
bool help_
Definition actionstatemachine/CommandLineOptions.hxx:263
const bool & camitk_dir() const
Definition config/CommandLineOptions.ixx:142
const bool & short_version() const
Definition config/CommandLineOptions.ixx:148
Definition actionstatemachine/CommandLineOptions.cxx:15
std::ostream & operator<<(std::ostream &, const exception &)
Definition actionstatemachine/CommandLineOptions.ixx:22