|
goptions
|
Data Structures | |
| struct | RequiredValue |
Variables | |
| constexpr RequiredValue | REQUIRED {} |
| constexpr char | HELPFILLSPACE [] = " " |
| Padding used when printing option/switch help. | |
| constexpr char | GVERSION_STRING [] = "version" |
| Reserved option tag used to store version information. | |
Option parsing exit codes | |
| constexpr int | EC__NOOPTIONFOUND = 101 |
| Option/switch/key not found, or invalid command-line token. | |
| constexpr int | EC__DEFINED_OPTION_ALREADY_PRESENT |
| Attempted to define an option name more than once. | |
| constexpr int | EC__DEFINED_SWITCHALREADYPRESENT |
| Attempted to define a switch name more than once. | |
| constexpr int | EC__YAML_PARSING_ERROR |
| YAML file failed to parse (syntax error or parser failure). | |
| constexpr int | EC__MANDATORY_NOT_FILLED = 105 |
| Mandatory structured option key missing. | |
| constexpr int | EC__BAD_CONVERSION = 106 |
| YAML value could not be converted to requested type. | |
| constexpr int | EC_WRONG_VERBOSITY_LEVEL |
| Verbosity/debug values outside accepted range (if enforced). | |
|
inlineconstexpr |
Definition at line 73 of file goptionsConventions.h.
|
inlineconstexpr |
Definition at line 66 of file goptionsConventions.h.
|
inlineconstexpr |
Definition at line 68 of file goptionsConventions.h.
|
inlineconstexpr |
Definition at line 72 of file goptionsConventions.h.
|
inlineconstexpr |
Definition at line 65 of file goptionsConventions.h.
|
inlineconstexpr |
Definition at line 70 of file goptionsConventions.h.
|
inlineconstexpr |
Definition at line 74 of file goptionsConventions.h.
|
inlineconstexpr |
GOptions : registers this as a structured option so version metadata can be written to the saved YAML. It is not intended to be set by users. The saved YAML contains release metadata to support reproducibility in scripts and batch pipelines.
Definition at line 53 of file goptionsConventions.h.
|
inlineconstexpr |
This string controls the width of the left column used by the help output produced by GOptions : and GOption : so the console formatting stays aligned.
Typical usage pattern:
Definition at line 43 of file goptionsConventions.h.
|
inlineconstexpr |
Definition at line 25 of file goptionsConventions.h.