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. Note that where possible, no memory is allocated ‐ array are returned as references. Note that DatumMapRef and DatumIntMapRef are not supported at the moment.

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

Return a bdld::Datum having the specified value. The returned bdld::Datum object will contain a deep‐copy of 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 value is unset.

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

Return a bdld::Datum having the specified size number of elements. Note that where possible, no memory is allocated ‐ arrays are returned as references. Note that DatumMapRef and DatumIntMapRef are not supported at the moment.

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 having the specified size number of elements. Optionally specify sorted to indicate whether the entries are sorted.

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

Created with MrDocs