#include <toolbox/util/Argv.hpp>
Definition at line 54 of file Argv.hpp.
◆ ConstIterator
◆ ArgvLexer() [1/5]
◆ ArgvLexer() [2/5]
◆ ArgvLexer() [3/5]
◆ ~ArgvLexer()
toolbox::util::ArgvLexer::~ArgvLexer |
( |
| ) |
|
|
default |
◆ ArgvLexer() [4/5]
◆ ArgvLexer() [5/5]
toolbox::util::ArgvLexer::ArgvLexer |
( |
ArgvLexer && |
| ) |
|
|
defaultnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ empty()
bool toolbox::util::ArgvLexer::empty |
( |
| ) |
const |
|
inlinenoexcept |
◆ arg()
std::string_view toolbox::util::ArgvLexer::arg |
( |
| ) |
const |
|
inlinenoexcept |
◆ opt()
std::string_view toolbox::util::ArgvLexer::opt |
( |
| ) |
const |
|
inlinenoexcept |
◆ pop()
void toolbox::util::ArgvLexer::pop |
( |
| ) |
|
|
inlinenoexcept |
◆ pop_switch()
void toolbox::util::ArgvLexer::pop_switch |
( |
| ) |
|
Use this pop overload when the current option is a switch. Throw std::runtime_error if the switch had an attached value.
Definition at line 25 of file Argv.cpp.
◆ pop_value()
string_view toolbox::util::ArgvLexer::pop_value |
( |
| ) |
|
Use this pop overload when the current option expects a value. Throw std::runtime_error if no value exists.
Definition at line 34 of file Argv.cpp.
The documentation for this class was generated from the following files: