[#BloombergLP-bdld-DatumMapEntry] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::DatumMapEntry :relfileprefix: ../../ :mrdocs: This class represents an entry in a datum map keyed by string values. == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class DatumMapEntry; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdld/DatumMapEntry/2constructor-00.adoc[`DatumMapEntry`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdld/DatumMapEntry/key.adoc[`key`] | Return the key for this entry. | xref:BloombergLP/bdld/DatumMapEntry/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 modifiable `stream`. Optionally specify an initial indentation `level`, whose absolute value is incremented recursively for nested objects. If `level` is specified, optionally specify `spacesPerLevel`, whose absolute value indicates the number of spaces per indentation level for this and all of its nested objects. If `level` is negative, suppress indentation of the first line. If `spacesPerLevel` is negative, format the entire output on one line, suppressing all but the initial indentation (as governed by `level`). If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, and can change without notice. | xref:BloombergLP/bdld/DatumMapEntry/setKey.adoc[`setKey`] | Set the key for this entry to the specified `key`. | xref:BloombergLP/bdld/DatumMapEntry/setValue.adoc[`setValue`] | Set the value for this entry to the specified `value`. | xref:BloombergLP/bdld/DatumMapEntry/value.adoc[`value`] | Return the value for this entry. | xref:BloombergLP/bdld/DatumMapEntry/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<DatumMapEntry, HasPrintMethod>`] | Declare nested type traits for this type. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdld/operator_not_eq-0ae.adoc[`operator!=`] | Return `true` if the specified `lhs` and `rhs` have different values, and `false` otherwise. Two `DatumMapEntry` objects have different values if either the keys or values are not equal. | xref:BloombergLP/bdld/operator_eq-000.adoc[`operator==`] | Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. Two `DatumMapEntry` objects have the same value if their keys and values compare equal. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#