ZyanArgParseArg_
Contents
Detailed Description
Information about a parsed argument.
Member Data Documentation
constZyanArgParseDefinition*ZyanArgParseArg_::def
Corresponding argument definition, or ZYAN_NULL for unnamed args.
This pointer is borrowed from the cfg pointer passed to ZyanArgParse.
ZyanBoolZyanArgParseArg_::has_value
Whether the argument has a value (is non-boolean).
ZyanStringViewZyanArgParseArg_::value
If has_value == true, then the argument value.
This is a view into the argv string array passed to ZyanArgParse via the cfg argument.
Name
ZyanArgParseArg_
Synopsis
#include <ArgParse.h>
PublicAttributes
const ZyanArgParseDefinition * defZyanBoolhas_valueZyanStringViewvalue