Constructors
Synopses
Declared in <balcl_optioninfo.h>
Create an OptionInfo with the specified tag, name, and description, with d_typeInfo, d_defaultInfo, and d_environmentVariableName default‐constructed.
OptionInfo(
std::string_view tag = "",
std::string_view name = "",
std::string_view description = "");
Create an OptionInfo with the specified tag, name, description, and typeInfo, with d_defaultInfo, and d_environmentVariableName default‐constructed.
OptionInfo(
std::string_view tag,
std::string_view name,
std::string_view description,
TypeInfo const& typeInfo);
Create an OptionInfo with the specified tag, name, description, typeInfo, defaultInfo, and envVarName.
OptionInfo(
std::string_view tag,
std::string_view name,
std::string_view description,
TypeInfo const& typeInfo,
OccurrenceInfo const& defaultInfo,
std::string_view envVarName = "");
Parameters
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 |
Created with MrDocs