5#ifndef COMMAND_LINE_OPTIONS_HXX
6#define COMMAND_LINE_OPTIONS_HXX
42 print (std::ostream&)
const = 0;
60 print (std::ostream&)
const override;
63 what ()
const throw ()
override;
81 print (std::ostream&)
const override;
84 what ()
const throw ()
override;
87 std::string argument_;
102 print (std::ostream&)
const override;
105 what ()
const throw ()
override;
127 print (std::ostream&)
const override;
130 what ()
const throw ()
override;
141 print (std::ostream&)
const override;
144 what ()
const throw ()
override;
169 argv_scanner (
int& argc,
char** argv,
bool erase =
false);
170 argv_scanner (
int start,
int& argc,
char** argv,
bool erase =
false);
const char * next() override
Definition actionstatemachine/CommandLineOptions.cxx:127
void skip() override
Definition actionstatemachine/CommandLineOptions.cxx:151
int end() const
Definition actionstatemachine/CommandLineOptions.ixx:106
argv_scanner(int &argc, char **argv, bool erase=false)
Definition actionstatemachine/CommandLineOptions.ixx:94
const char * peek() override
Definition actionstatemachine/CommandLineOptions.cxx:118
bool more() override
Definition actionstatemachine/CommandLineOptions.cxx:112
Definition actionstatemachine/CommandLineOptions.hxx:138
void print(std::ostream &) const override
Definition actionstatemachine/CommandLineOptions.cxx:92
const char * what() const override
Definition actionstatemachine/CommandLineOptions.cxx:98
Definition actionstatemachine/CommandLineOptions.hxx:39
virtual void print(std::ostream &) const =0
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
~invalid_value() override
Definition config/CommandLineOptions.cxx:76
const std::string & value() const
Definition actionstatemachine/CommandLineOptions.ixx:86
const std::string & option() const
Definition actionstatemachine/CommandLineOptions.ixx:80
~missing_value() override
Definition config/CommandLineOptions.cxx:57
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 ~scanner()
Definition config/CommandLineOptions.cxx:110
virtual const char * peek()=0
virtual const char * next()=0
unknown_argument(std::string argument)
Definition actionstatemachine/CommandLineOptions.ixx:45
void print(std::ostream &) const override
Definition actionstatemachine/CommandLineOptions.cxx:41
~unknown_argument() override
Definition config/CommandLineOptions.cxx:38
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
unknown_mode(value v)
Definition actionstatemachine/CommandLineOptions.ixx:14
~unknown_option() override
Definition config/CommandLineOptions.cxx:19
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
const bool & version() const
Definition actionstatemachine/CommandLineOptions.ixx:122
std::string file_
Definition actionstatemachine/CommandLineOptions.hxx:265
std::string output_dir_
Definition actionstatemachine/CommandLineOptions.hxx:266
const bool & autonext() const
Definition actionstatemachine/CommandLineOptions.ixx:140
const bool & help() const
Definition actionstatemachine/CommandLineOptions.ixx:116
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)
Definition actionstatemachine/CommandLineOptions.cxx:302
const std::string & file() const
Definition actionstatemachine/CommandLineOptions.ixx:128
const std::string & output_dir() const
Definition actionstatemachine/CommandLineOptions.ixx:134
bool autonext_
Definition actionstatemachine/CommandLineOptions.hxx:267
bool help_
Definition actionstatemachine/CommandLineOptions.hxx:263
static void print_usage(::std::ostream &)
Definition actionstatemachine/CommandLineOptions.cxx:385
Definition actionstatemachine/CommandLineOptions.cxx:15
std::ostream & operator<<(std::ostream &, const exception &)
Definition actionstatemachine/CommandLineOptions.ixx:22