clipp::parsing_result Class Reference
contains argument -> parameter mappings and missing parameters More...
#include <clipp.h>
Public Types | |
using | arg_mapping = parser::arg_mapping |
using | arg_mappings = parser::arg_mappings |
using | missing_event = parser::missing_event |
using | missing_events = parser::missing_events |
using | iterator = arg_mappings::const_iterator |
Public Member Functions | |
parsing_result ()=default | |
default: empty redult More... | |
parsing_result (arg_mappings arg2param, missing_events misses) | |
arg_mappings::size_type | unmapped_args_count () const noexcept |
returns number of arguments that could not be mapped to a parameter More... | |
bool | any_blocked () const noexcept |
returns if any argument could only be matched by an unreachable parameter More... | |
bool | any_conflict () const noexcept |
returns if any argument matched more than one parameter that were mutually exclusive More... | |
bool | any_bad_repeat () const noexcept |
returns if any parameter matched repeatedly although it was not allowed to More... | |
bool | any_error () const noexcept |
returns true if any parsing error / violation of the command line interface definition occured More... | |
operator bool () const noexcept | |
returns true if no parsing error / violation of the command line interface definition occured More... | |
const missing_events & | missing () const noexcept |
access to range of missing parameter match events More... | |
iterator | begin () const noexcept |
returns non-mutating iterator to position of first argument -> parameter mapping More... | |
iterator | end () const noexcept |
returns non-mutating iterator to position one past the last argument -> parameter mapping More... | |
Detailed Description
contains argument -> parameter mappings and missing parameters
Member Typedef Documentation
◆ arg_mapping
◆ arg_mappings
◆ iterator
using clipp::parsing_result::iterator = arg_mappings::const_iterator |
◆ missing_event
◆ missing_events
Constructor & Destructor Documentation
◆ parsing_result() [1/2]
|
default |
default: empty redult
◆ parsing_result() [2/2]
|
inline |
Member Function Documentation
◆ any_bad_repeat()
|
inlinenoexcept |
◆ any_blocked()
|
inlinenoexcept |
◆ any_conflict()
|
inlinenoexcept |
◆ any_error()
|
inlinenoexcept |
◆ begin()
|
inlinenoexcept |
◆ end()
|
inlinenoexcept |
◆ missing()
|
inlinenoexcept |
◆ operator bool()
|
inlineexplicitnoexcept |
◆ unmapped_args_count()
|
inlinenoexcept |
The documentation for this class was generated from the following file: