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_;
118 const
std::
string& value);
246 config_json ()
const;
249 print_paths ()
const;
255 short_version ()
const;
258 complete_version ()
const;
264 bug_report_info ()
const;
267 check_hotplug_extension ()
const;
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
Definition actionstatemachine/CommandLineOptions.hxx:91
Definition actionstatemachine/CommandLineOptions.hxx:148
virtual const char * peek()=0
virtual const char * next()=0
Definition actionstatemachine/CommandLineOptions.hxx:70
virtual ~unknown_argument()
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
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
std::string check_hotplug_extension_
Definition config/CommandLineOptions.hxx:291
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
bool short_version_
Definition config/CommandLineOptions.hxx:287
static void print_usage(::std::ostream &)
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
bool config_json_
Definition config/CommandLineOptions.hxx:284
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)
Definition actionstatemachine/CommandLineOptions.cxx:15
std::ostream & operator<<(std::ostream &, const exception &)
Definition actionstatemachine/CommandLineOptions.ixx:22