[#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 `&lt;balcl&lowbar;occurrenceinfo&period;h&gt;`

Construct an optional, non&hyphen;hidden `OccurrenceInfo` with no default value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balcl/OccurrenceInfo/2constructor-04c.adoc[OccurrenceInfo]();
----

[.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-04c.adoc[_» more&period;&period;&period;_]#

Construct an optional, non&hyphen;hidden `OccurrenceInfo` with no default value&period;


[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&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[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&period;&period;&period;_]#

Construct an `OccurrenceInfo` of the specified occurrence `type`&period;


[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&period;&period;&period;_]#

Construct an optional `OccurrenceInfo` with the specified default value&period;


[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&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[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&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[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&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[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&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[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&period;&period;&period;_]#

Create an `OccurrenceInfo` object having the value of `original`&period;


[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&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[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&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[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&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0d5c.adoc[OccurrenceInfo](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;bdlt::Date&gt;] const& defaultValue,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0d5c.adoc[_» more&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0bf.adoc[OccurrenceInfo](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;bdlt::Datetime&gt;] const& defaultValue,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0bf.adoc[_» more&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balcl/OccurrenceInfo/2constructor-05.adoc[OccurrenceInfo](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;bsls::Types::Int64&gt;] const& defaultValue,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-05.adoc[_» more&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0c.adoc[OccurrenceInfo](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;bdlt::Time&gt;] const& defaultValue,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0c.adoc[_» more&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0a.adoc[OccurrenceInfo](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;char&gt;] const& defaultValue,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-0a.adoc[_» more&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balcl/OccurrenceInfo/2constructor-068.adoc[OccurrenceInfo](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;double&gt;] const& defaultValue,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-068.adoc[_» more&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balcl/OccurrenceInfo/2constructor-089.adoc[OccurrenceInfo](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;int&gt;] const& defaultValue,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-089.adoc[_» more&period;&period;&period;_]#

Construct an `OccurrenceInfo` object having the specified `defaultValue`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balcl/OccurrenceInfo/2constructor-00.adoc[OccurrenceInfo](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;bsl::string&gt;] const& defaultValue,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balcl/OccurrenceInfo/2constructor-00.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
| *defaultValue*
| default value for the described option
| *type*
| occurrence requirement for the described option
| *original*
| object providing the value to copy
|===


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