BloombergLP::balcl::OptionInfo::OptionInfo

Create an OptionInfo with the specified tag, name, description, and typeInfo, with d_defaultInfo, and d_environmentVariableName default-constructed.

Synopsis

Declared in <balcl_optioninfo.h>

OptionInfo(
    std::string_view tag,
    std::string_view name,
    std::string_view description,
    TypeInfo const& typeInfo);

Parameters

NameDescription
tagtags (or "" for non-option argument)
nameaccessing name
descriptiondescription used in printing usage
typeInfotype and linked-variable information for the option value