BloombergLP::bdld::DatumMaker::operator()

Function call operators

Synopses

Declared in <bdld_datummaker.h>

Return a bdld::Datum having a null value.

bdld::Datum
operator()() const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdldfp::Decimal64 value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bsls::Types::Int64 value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bool value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(double value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(int value) const;
» more...

Same as the preceding overload for the specified value type.

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

Same as the preceding overload for the specified value type.

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

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdlt::DatetimeInterval const& value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdld::Datum const& value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdld::DatumArrayRef const& value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdld::DatumError const& value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdld::DatumMutableIntMapRef const& value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdld::DatumMutableMapRef const& value) const;
» more...

Same as the preceding overload for the specified value type.

bdld::Datum
operator()(bdld::DatumUdt const& value) const;
» more...

Return a bdld::Datum having the specified value.

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

Return a bdld::Datum having the specified value.

bdld::Datum
operator()(bslstl::StringRef const& value) const;
» more...

Same as the preceding overload for the specified value type.

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

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

bdld::Datum
operator()(char const* value) const;
» more...

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

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

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

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

Same as the preceding overload for the specified elements type.

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

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

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

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

NameDescription
valuevalue to store in the returned Datum
elementsarray of Datum elements
sizenumber of elements in the array
sortedflag indicating whether elements is sorted