8#ifndef INCLUDED_BDLD_DATUMUDT
9#define INCLUDED_BDLD_DATUMUDT
120#include <bdlscm_version.h>
129#include <bsl_string.h>
130#include <bsl_iosfwd.h>
194 bsl::ostream&
print(bsl::ostream& stream,
196 int spacesPerLevel = 4)
const;
292 return (lhs.data() == rhs.data() &&
293 lhs.type() == rhs.type());
299 return (
lhs.data() !=
rhs.data() ||
300 lhs.type() !=
rhs.type());
306 return (
lhs.data() <
rhs.data() ||
313 return (lhs == rhs || lhs < rhs);
331 return rhs.print(stream, 0 , -1);
Definition bdld_datumudt.h:144
DatumUdt(const DatumUdt &origin)=default
DatumUdt(void *data, int type)
Definition bdld_datumudt.h:267
BSLMF_NESTED_TRAIT_DECLARATION(DatumUdt, bdlb::HasPrintMethod)
DatumUdt & operator=(const DatumUdt &rhs)=default
void * data() const
Return the pointer to the user-defined object.
Definition bdld_datumudt.h:275
int type() const
Return the type of the user-defined object.
Definition bdld_datumudt.h:281
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
BSLMF_NESTED_TRAIT_DECLARATION(DatumUdt, bsl::is_trivially_copyable)
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bdld_datum.h:740
bsl::ostream & operator<<(bsl::ostream &stream, const Datum &rhs)
bool operator<=(const DatumBinaryRef &lhs, const DatumBinaryRef &rhs)
bool operator<(const DatumBinaryRef &lhs, const DatumBinaryRef &rhs)
bool operator>=(const DatumBinaryRef &lhs, const DatumBinaryRef &rhs)
bool operator==(const Datum &lhs, const Datum &rhs)
bool operator>(const DatumBinaryRef &lhs, const DatumBinaryRef &rhs)
bool operator!=(const Datum &lhs, const Datum &rhs)
ALLOCATOR const STRING_VIEW_LIKE_TYPE & rhs
Definition bslstl_string.h:3918
ALLOCATOR & lhs
Definition bslstl_string.h:3917
Definition bdlb_printmethods.h:306
Definition bslmf_istriviallycopyable.h:324