object storing information about option parsed from command-line
More...
#include "app.h"
|
const Option * | opt |
| reference to the corresponding Option entry in the OPTIONS section More...
|
|
const char *const * | args |
| pointer into argv corresponding to the option's first argument More...
|
|
object storing information about option parsed from command-line
this is the object stored in the App::options vector, and the type returned by App::get_options().
Definition at line 286 of file app.h.
◆ ParsedOption()
MR::App::ParsedOption::ParsedOption |
( |
const Option * |
option, |
|
|
const char *const * |
arguments |
|
) |
| |
|
inline |
◆ operator==()
bool MR::App::ParsedOption::operator== |
( |
const char * |
match | ) |
const |
|
inline |
check whether this option matches the name supplied
Definition at line 323 of file app.h.
◆ operator[]()
const ParsedArgument MR::App::ParsedOption::operator[] |
( |
size_t |
num | ) |
const |
|
inline |
◆ args
const char* const* MR::App::ParsedOption::args |
pointer into argv
corresponding to the option's first argument
Definition at line 315 of file app.h.
◆ opt
const Option* MR::App::ParsedOption::opt |
reference to the corresponding Option entry in the OPTIONS section
Definition at line 313 of file app.h.
The documentation for this class was generated from the following file: