[#BloombergLP-bdld-DatumUdt] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::DatumUdt :relfileprefix: ../../ :mrdocs: This class provides a type to represent a pointer to an object of some user‐defined type and an integer value denoting what actual type is represented. == Synopsis Declared in `<bdld_datumudt.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class DatumUdt; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdld/DatumUdt/2constructor.adoc[`DatumUdt`] [.small]#[constructor]# | Create a `DatumUdt` object having the specified `data` and `type`. | xref:BloombergLP/bdld/DatumUdt/data.adoc[`data`] | Return the pointer to the user‐defined object. | xref:BloombergLP/bdld/DatumUdt/print.adoc[`print`] | Write the value of this object to the specified output `stream` in a human‐readable format, and return a reference to the modifyable `stream`. | xref:BloombergLP/bdld/DatumUdt/type.adoc[`type`] | Return the type of the user‐defined object. | xref:BloombergLP/bdld/DatumUdt/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<DatumUdt, HasPrintMethod>`] | `DatumUdt` is trivially copyable. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdld/operator_not_eq-0e.adoc[`operator!=`] | Return `true` if the specified `lhs` and `rhs` have different values, and `false` otherwise. | xref:BloombergLP/bdld/operator_lt-09e.adoc[`operator<`] | Return `true` if value of the specified `lhs` is less than value of the specified `rhs` and `false` otherwise. | xref:BloombergLP/bdld/operator_le-0b.adoc[`operator<=`] | Return `true` if value of the specified `lhs` is less than or equal to value of the specified `rhs` and `false` otherwise. | xref:BloombergLP/bdld/operator_eq-001.adoc[`operator==`] | Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. | xref:BloombergLP/bdld/operator_gt-07.adoc[`operator>`] | Return `true` if value of the specified `lhs` is greater than value of the specified `rhs` and `false` otherwise. | xref:BloombergLP/bdld/operator_ge-06.adoc[`operator>=`] | Return `true` if value of the specified `lhs` is greater than or equal to value of the specified `rhs` and `false` otherwise. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#