|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
A parsed or registered command-line argument definition. More...
#include <argz.hpp>
Public Member Functions | |
| Argument () | |
| Argument (const Argument &a) | |
| Argument & | operator= (const Argument< String > &a) |
| auto | operator<=> (const Argument< String > &a) const |
Public Attributes | |
| String | arg_name |
| long option name (for double-dash) | |
| int | arg_letter |
| short option character code | |
| String | arg_value |
| parsed value (for value-taking options) | |
| ArgType | arg_type |
| switch type | |
| String | desc |
| help description | |
A parsed or registered command-line argument definition.
| String | A StringType-constrained string class |
|
inline |
Definition at line 58 of file argz.hpp.
References arg_letter, arg_name, arg_type, arg_value, and desc.
Referenced by Argument(), operator<=>(), and operator=().
|
inline |
Definition at line 59 of file argz.hpp.
References Argument(), arg_letter, arg_name, arg_type, arg_value, and desc.
|
inline |
Definition at line 68 of file argz.hpp.
References Argument(), and arg_letter.
|
inline |
Definition at line 60 of file argz.hpp.
References Argument(), arg_letter, arg_name, arg_type, arg_value, and desc.
| int mx::Argument< String >::arg_letter |
short option character code
Definition at line 54 of file argz.hpp.
Referenced by Argument(), Argument(), mx::Argz< String >::addOptionDouble(), mx::Argz< String >::addOptionDoubleValue(), mx::Argz< String >::addOptionSingle(), mx::Argz< String >::addOptionSingleValue(), operator<=>(), and operator=().
| String mx::Argument< String >::arg_name |
long option name (for double-dash)
Definition at line 53 of file argz.hpp.
Referenced by Argument(), Argument(), mx::Argz< String >::addOptionDouble(), mx::Argz< String >::addOptionDoubleValue(), operator=(), and mx::Argz< String >::proc().
| ArgType mx::Argument< String >::arg_type |
switch type
Definition at line 56 of file argz.hpp.
Referenced by Argument(), Argument(), mx::Argz< String >::addOptionDouble(), mx::Argz< String >::addOptionDoubleValue(), mx::Argz< String >::addOptionSingle(), mx::Argz< String >::addOptionSingleValue(), operator=(), and mx::Argz< String >::proc().
| String mx::Argument< String >::arg_value |
parsed value (for value-taking options)
Definition at line 55 of file argz.hpp.
Referenced by Argument(), Argument(), main(), operator=(), mx::Argz< String >::proc(), mx::proc_args(), and proc_args().
| String mx::Argument< String >::desc |
help description
Definition at line 57 of file argz.hpp.
Referenced by Argument(), Argument(), mx::Argz< String >::addOptionDouble(), mx::Argz< String >::addOptionDoubleValue(), mx::Argz< String >::addOptionSingle(), mx::Argz< String >::addOptionSingleValue(), and operator=().