|
CPP-AP 3.0.1
Command-line argument parser for C++20
|
A collection of values used during the parsing process. More...
Public Member Functions | |
| parsing_state (argument_parser &parser, const bool parse_known_only=false) | |
| void | set_parser (argument_parser &parser) |
| Update the parser-specific parameters of the state object. | |
Public Attributes | |
| arg_ptr_t | curr_arg |
| The currently processed argument. | |
| arg_ptr_vec_iter_t | curr_pos_arg_it |
| An iterator pointing to the next positional argument to be processed. | |
| const bool | parse_known_only |
| A flag indicating whether only known arguments should be parsed. | |
| std::vector< std::string > | unknown_args = {} |
| A vector of unknown argument values. | |
A collection of values used during the parsing process.
Definition at line 916 of file argument_parser.hpp.
|
inline |
Definition at line 917 of file argument_parser.hpp.
|
inline |
Update the parser-specific parameters of the state object.
| parser | The new parser. |
Definition at line 924 of file argument_parser.hpp.
| arg_ptr_t ap::argument_parser::parsing_state::curr_arg |
The currently processed argument.
Definition at line 929 of file argument_parser.hpp.
| arg_ptr_vec_iter_t ap::argument_parser::parsing_state::curr_pos_arg_it |
An iterator pointing to the next positional argument to be processed.
Definition at line 931 of file argument_parser.hpp.
A flag indicating whether only known arguments should be parsed.
Definition at line 933 of file argument_parser.hpp.
| std::vector<std::string> ap::argument_parser::parsing_state::unknown_args = {} |
A vector of unknown argument values.
Definition at line 934 of file argument_parser.hpp.