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>
192 bsl::ostream&
print(bsl::ostream& stream,
194 int spacesPerLevel = 4)
const;
289 return (lhs.data() == rhs.data() &&
290 lhs.type() == rhs.type());
296 return (lhs.data() != rhs.data() ||
297 lhs.type() != rhs.type());
303 return (lhs.data() < rhs.data() ||
304 (lhs.data() == rhs.data() && lhs.type() < rhs.type()));
310 return (lhs == rhs || lhs < rhs);
316 return !(lhs <= rhs);
328 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:264
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:272
int type() const
Return the type of the user-defined object.
Definition bdld_datumudt.h:278
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)
Definition bsls_ident.h:195
Definition bdld_datum.h:730
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)
Definition bdlb_printmethods.h:306
Definition bslmf_istriviallycopyable.h:329