Function call operators
Synopses
Declared in <bdld_datummaker.h>
Return a bdld::Datum having a null value.
bdld::Datum
operator()() const;
Same as the preceding overload for the specified value type.
bdld::Datum
operator()(bdldfp::Decimal64 value) const;
Same as the preceding overload for the specified value type.
bdld::Datum
operator()(bsls::Types::Int64 value) const;
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.
bdld::Datum
operator()(bdlt::DatetimeInterval const& value) const;
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.
bdld::Datum
operator()(bdld::DatumArrayRef const& value) const;
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.
bdld::Datum
operator()(bdld::DatumMutableIntMapRef const& value) const;
Same as the preceding overload for the specified value type.
bdld::Datum
operator()(bdld::DatumMutableMapRef const& value) const;
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.
bdld::Datum
operator()(bslstl::StringRef const& value) const;
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
Datumhaving a null value -
a
Datumhaving the specifiedvalue -
a
Datumhaving a deep‐copy ofvalue -
a
Datumhaving the specifiedvalue, or null if unset -
a
Datumarray referencing the specifiedelements -
a
Datuminteger‐map from the specifiedelements -
a
Datummap from the specifiedelements
Parameters
Name |
Description |
value |
value to store in the returned |
elements |
array of |
size |
number of elements in the array |
sorted |
flag indicating whether |
Created with MrDocs