5#ifndef COMMAND_LINE_OPTIONS_HXX
6#define COMMAND_LINE_OPTIONS_HXX
38 class exception:
public std::exception
42 print (std::ostream&)
const = 0;
63 what () const throw () override;
84 what () const throw () override;
87 std::
string argument_;
105 what () const throw () override;
130 what () const throw () override;
141 print (std::ostream&)
const override;
144 what ()
const throw () override;
Definition actionstatemachine/CommandLineOptions.hxx:167
const char * next() override
argv_scanner(int start, int &argc, char **argv, bool erase=false)
argv_scanner(int &argc, char **argv, bool erase=false)
const char * peek() override
Definition actionstatemachine/CommandLineOptions.hxx:138
void print(std::ostream &) const override
const char * what() const override
Definition actionstatemachine/CommandLineOptions.hxx:39
virtual void print(std::ostream &) const =0
Definition actionstatemachine/CommandLineOptions.hxx:112
~invalid_value() override
Definition actionstatemachine/CommandLineOptions.hxx:91
~missing_value() override
Definition actionstatemachine/CommandLineOptions.hxx:148
virtual const char * peek()=0
virtual const char * next()=0
Definition actionstatemachine/CommandLineOptions.hxx:70
~unknown_argument() override
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() override
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
Definition actionstatemachine/CommandLineOptions.hxx:198
const bool & version() const
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
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)
const std::string & file() const
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)
std::string directory_
Definition cepgenerator/CommandLineOptions.hxx:263
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