Function call operators

Synopses

Declared in <bdld_datummaker.h>

Return a bdld::Datum having a null value.

Same as the preceding overload for the specified value type.

Same as the preceding overload for the specified value type.

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bool value) const;

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(double value) const;

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(int value) const;

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdlt::Date const& value) const;

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdlt::Datetime const& value) const;

Same as the preceding overload for the specified value type.

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdld::Datum const& value) const;

Same as the preceding overload for the specified value type.

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdld::DatumError const& value) const;

Same as the preceding overload for the specified value type.

Same as the preceding overload for the specified value type.

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdld::DatumUdt const& value) const;

Return a bdld::Datum having the specified value.

bdld::Datum
operator()(bslmf::Nil const& value) const;

Return a bdld::Datum having the specified value.

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdlt::Time const& value) const;

Same as the preceding overload for a null‐terminated C string.

bdld::Datum
operator()(char const* value) const;

Return a bdld::Datum having the specified value, or null if unset.

template<class TYPE>
bdld::Datum
operator()(bdlb::NullableValue<TYPE> const& value) const;

Return a bdld::Datum array referencing the specified elements.

bdld::Datum
operator()(
    bdld::Datum const* elements,
    int size) const;

Same as the preceding overload for the specified elements type.

bdld::Datum
operator()(
    bdld::DatumIntMapEntry const* elements,
    int size,
    bool sorted = false) const;

Return a bdld::Datum map from the specified elements.

bdld::Datum
operator()(
    bdld::DatumMapEntry const* elements,
    int size,
    bool sorted = false) const;

Return Value

  • a Datum having a null value

  • a Datum having the specified value

  • a Datum having a deep‐copy of value

  • a Datum having the specified value, or null if unset

  • a Datum array referencing the specified elements

  • a Datum integer‐map from the specified elements

  • a Datum map from the specified elements

Parameters

Name

Description

value

value to store in the returned Datum

elements

array of Datum elements

size

number of elements in the array

sorted

flag indicating whether elements is sorted

Created with MrDocs