Represents a parsed command-line option and its associated argument (if any)
More...
#include <xgetopt.h>
Represents a parsed command-line option and its associated argument (if any)
◆ ParsedOption()
| XGetOpt::ParsedOption::ParsedOption |
( |
int |
s, |
|
|
std::optional< std::string_view > |
arg |
|
) |
| |
|
inline |
◆ getArgument()
| std::string_view XGetOpt::ParsedOption::getArgument |
( |
| ) |
const |
|
inline |
◆ getShortOpt()
| int XGetOpt::ParsedOption::getShortOpt |
( |
| ) |
const |
|
inline |
◆ hasArgument()
| bool XGetOpt::ParsedOption::hasArgument |
( |
| ) |
const |
|
inline |
◆ argument
| std::optional<std::string_view> XGetOpt::ParsedOption::argument |
|
private |
◆ shortopt
| int XGetOpt::ParsedOption::shortopt |
|
private |
The documentation for this class was generated from the following file: