Describes a single parsed argument entry returned by Argz::proc(). More...
#include <mxvk/include/mxvk/argz.hpp>
Public Member Functions | |
| Argument () | |
| Argument (const Argument &a) | |
| auto | operator<=> (const Argument< String > &a) const |
| Argument & | operator= (const Argument< String > &a) |
| bool | operator== (const Argument< String > &a) const |
| ~Argument ()=default | |
Public Attributes | |
| int | arg_letter |
Short option code (e.g. 'o') or unique integer for long-only options. | |
| String | arg_name |
Long option name (e.g. "output"). | |
| ArgType | arg_type |
Which ArgType variant this argument represents. | |
| String | arg_value |
| Value string supplied after the option, if any. | |
| String | desc |
| Human-readable description used in help output. | |
Describes a single parsed argument entry returned by Argz::proc().
| String | String type satisfying StringType. |
After a successful call to Argz::proc() the member arg_letter holds the matched code (or '-' for bare positional arguments) and arg_value holds any associated value string.
|
default |
|
inline |
Definition at line 127 of file argz.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
| int Argument< String >::arg_letter |
| String Argument< String >::arg_name |
| ArgType Argument< String >::arg_type |
| String Argument< String >::arg_value |
| String Argument< String >::desc |