Create an OptionInfo with the specified tag, name, description, typeInfo, defaultInfo, and envVarName.
Declared in <balcl_optioninfo.h>
OptionInfo(
std::string_view tag,
std::string_view name,
std::string_view description,
TypeInfo const& typeInfo,
OccurrenceInfo const& defaultInfo,
std::string_view envVarName = "");
| Name | Description |
|---|---|
| tag | tags (or "" for non-option argument) |
| name | accessing name |
| description | description used in printing usage |
| typeInfo | type and linked-variable information for the option value |
| defaultInfo | occurrence information and optional default value |
| envVarName | environment variable name supplying a default value |