Constructors

Synopses

Declared in <balcl_occurrenceinfo.h>

Construct an optional, non‐hidden OccurrenceInfo with no default value.

Construct an optional, non‐hidden OccurrenceInfo with no default value.

explicit
OccurrenceInfo(bslma::Allocator* basicAllocator);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsls::Types::Int64 defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo of the specified occurrence type.

OccurrenceInfo(
    OccurrenceType type,
    bslma::Allocator* basicAllocator = 0);

Construct an optional OccurrenceInfo with the specified default value.

explicit
OccurrenceInfo(
    char defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    double defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    int defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bdlt::Date const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bdlt::Datetime const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Create an OccurrenceInfo object having the value of original.

OccurrenceInfo(
    OccurrenceInfo const& original,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bdlt::Time const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsl::string const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsl::vector<bdlt::Date> const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsl::vector<bdlt::Datetime> const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsl::vector<bsls::Types::Int64> const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsl::vector<bdlt::Time> const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsl::vector<char> const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsl::vector<double> const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsl::vector<int> const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Construct an OccurrenceInfo object having the specified defaultValue.

explicit
OccurrenceInfo(
    bsl::vector<bsl::string> const& defaultValue,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

basicAllocator

memory allocator; 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

Created with MrDocs