[#BloombergLP-balcl-OptionInfo-2constructor-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo]::OptionInfo
:relfileprefix: ../../../
:mrdocs:

Create an `OptionInfo` with the specified `tag`, `name`, `description`, `typeInfo`, `defaultInfo`, and `envVarName`&period;

== Synopsis

Declared in `&lt;balcl&lowbar;optioninfo&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
OptionInfo(
    std::string&lowbar;view tag,
    std::string&lowbar;view name,
    std::string&lowbar;view description,
    xref:BloombergLP/balcl/TypeInfo.adoc[TypeInfo] const& typeInfo,
    xref:BloombergLP/balcl/OccurrenceInfo.adoc[OccurrenceInfo] const& defaultInfo,
    std::string&lowbar;view envVarName = &quot;&quot;);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
