[#BloombergLP-balcl-OccurrenceInfo-2constructor-0d56] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/OccurrenceInfo.adoc[OccurrenceInfo]::OccurrenceInfo :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balcl_occurrenceinfo.h>` Construct an `OccurrenceInfo` object that describes a command‐line option that is optional but not hidden (i.e., `e_OPTIONAL == occurrenceType()`) and has no default value. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/OccurrenceInfo/2constructor-04c.adoc[OccurrenceInfo](); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-04c.adoc[_» more..._]# Construct an `OccurrenceInfo` object that describes a command‐line option that is optional but not hidden and has no default value, using the specified `basicAllocator` to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0d50.adoc[OccurrenceInfo](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0d50.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0f1.adoc[OccurrenceInfo]( xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0f1.adoc[_» more..._]# Construct an `OccurrenceInfo` object that describes a command‐line option of the specified `type` and has no default value. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/OccurrenceInfo/2constructor-036.adoc[OccurrenceInfo]( xref:BloombergLP/balcl/OccurrenceInfo/OccurrenceType-09.adoc[OccurrenceType] type, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-036.adoc[_» more..._]# Construct an `OccurrenceInfo` object that describes a command‐line option that is not required or hidden, and that has the specified `defaultValue`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-04f.adoc[OccurrenceInfo]( char defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-04f.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-063.adoc[OccurrenceInfo]( double defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-063.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0ff.adoc[OccurrenceInfo]( int defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0ff.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0e.adoc[OccurrenceInfo]( xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0e.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-033.adoc[OccurrenceInfo]( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-033.adoc[_» more..._]# Construct a `OccurrenceInfo` object having the value of the specified `original` object. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0be.adoc[OccurrenceInfo]( xref:BloombergLP/balcl/OccurrenceInfo.adoc[OccurrenceInfo] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0be.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0fb.adoc[OccurrenceInfo]( xref:BloombergLP/bdlt/Time.adoc[bdlt::Time] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0fb.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-084.adoc[OccurrenceInfo]( xref:bsl/string.adoc[bsl::string] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-084.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0d5c.adoc[OccurrenceInfo]( xref:bsl/vector-00d.adoc[bsl::vector<bdlt::Date>] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0d5c.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0bf.adoc[OccurrenceInfo]( xref:bsl/vector-00d.adoc[bsl::vector<bdlt::Datetime>] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0bf.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-05.adoc[OccurrenceInfo]( xref:bsl/vector-00d.adoc[bsl::vector<bsls::Types::Int64>] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-05.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0c.adoc[OccurrenceInfo]( xref:bsl/vector-00d.adoc[bsl::vector<bdlt::Time>] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0c.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0a.adoc[OccurrenceInfo]( xref:bsl/vector-00d.adoc[bsl::vector<char>] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0a.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-068.adoc[OccurrenceInfo]( xref:bsl/vector-00d.adoc[bsl::vector<double>] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-068.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-089.adoc[OccurrenceInfo]( xref:bsl/vector-00d.adoc[bsl::vector<int>] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-089.adoc[_» more..._]# Construct an `OccurrenceInfo` object having the specified `defaultValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/balcl/OccurrenceInfo/2constructor-00.adoc[OccurrenceInfo]( xref:bsl/vector-00d.adoc[bsl::vector<bsl::string>] const& defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#