#include <goto_cc_cmdline.h>
|
| ~goto_cc_cmdlinet () |
|
virtual bool | parse (int argc, const char **argv)=0 |
|
std::size_t | get_optnr (const std::string &option) |
|
void | set (const std::string &opt, const char *value) override |
| Set option option to value . More...
|
|
void | set (const std::string &opt, const std::string &value) override |
|
void | set (const std::string &opt, bool value=true) override |
| Set option option to value , or true if the value is omitted. More...
|
|
bool | have_infile_arg () const |
|
virtual bool | parse (int argc, const char **argv, const char *optstring) |
|
virtual bool | parse (int argc, const char **argv, const char *optstring) |
|
std::string | get_value (char option) const |
|
std::string | get_value (const char *option) const |
|
const std::list< std::string > & | get_values (const std::string &option) const |
|
const std::list< std::string > & | get_values (char option) const |
|
std::list< std::string > | get_comma_separated_values (const char *option) const |
|
virtual bool | isset (char option) const |
|
virtual bool | isset (const char *option) const |
|
virtual void | clear () |
|
bool | has_option (const std::string &option) const |
|
option_namest | option_names () const |
| Pseudo-object that can be used to iterate over options in this cmdlinet (should not outlive this) More...
|
|
| cmdlinet () |
|
virtual | ~cmdlinet () |
|
std::vector< std::string > | get_argument_suggestions (const std::string &unknown_argument) |
|
|
static bool | in_list (const char *option, const char **list) |
|
Definition at line 19 of file goto_cc_cmdline.h.
◆ parsed_argvt
◆ ~goto_cc_cmdlinet()
goto_cc_cmdlinet::~goto_cc_cmdlinet |
( |
| ) |
|
◆ add_arg()
void goto_cc_cmdlinet::add_arg |
( |
const std::string & |
arg | ) |
|
|
inlineprotected |
◆ add_infile_arg()
void goto_cc_cmdlinet::add_infile_arg |
( |
const std::string & |
arg | ) |
|
|
protected |
◆ get_optnr()
std::size_t goto_cc_cmdlinet::get_optnr |
( |
const std::string & |
option | ) |
|
◆ have_infile_arg()
bool goto_cc_cmdlinet::have_infile_arg |
( |
| ) |
const |
◆ in_list()
bool goto_cc_cmdlinet::in_list |
( |
const char * |
option, |
|
|
const char ** |
list |
|
) |
| |
|
static |
◆ parse() [1/2]
virtual bool goto_cc_cmdlinet::parse |
( |
int |
argc, |
|
|
const char ** |
argv |
|
) |
| |
|
pure virtual |
◆ parse() [2/2]
◆ set() [1/3]
void goto_cc_cmdlinet::set |
( |
const std::string & |
option, |
|
|
bool |
value = true |
|
) |
| |
|
inlineoverridevirtual |
Set option option
to value
, or true
if the value is omitted.
Reimplemented from cmdlinet.
Definition at line 45 of file goto_cc_cmdline.h.
◆ set() [2/3]
void goto_cc_cmdlinet::set |
( |
const std::string & |
opt, |
|
|
const char * |
value |
|
) |
| |
|
inlineoverridevirtual |
◆ set() [3/3]
void goto_cc_cmdlinet::set |
( |
const std::string & |
opt, |
|
|
const std::string & |
value |
|
) |
| |
|
inlineoverridevirtual |
◆ parsed_argv
◆ stdin_file
std::string goto_cc_cmdlinet::stdin_file |
The documentation for this class was generated from the following files: