[#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&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datum&period;h&gt;`

[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&period;
| xref:BloombergLP/bdld/DatumMapEntry/print.adoc[`print`] 
| Write the value of this object to the specified output `stream` in a human&hyphen;readable format, and return a reference to the modifiable `stream`&period; Optionally specify an initial indentation `level`, whose absolute value is incremented recursively for nested objects&period; 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&period; If `level` is negative, suppress indentation of the first line&period; If `spacesPerLevel` is negative, format the entire output on one line, suppressing all but the initial indentation (as governed by `level`)&period; If `stream` is not valid on entry, this operation has no effect&period; Note that this human&hyphen;readable format is not fully specified, and can change without notice&period;
| xref:BloombergLP/bdld/DatumMapEntry/setKey.adoc[`setKey`] 
| Set the key for this entry to the specified `key`&period;
| xref:BloombergLP/bdld/DatumMapEntry/setValue.adoc[`setValue`] 
| Set the value for this entry to the specified `value`&period;
| xref:BloombergLP/bdld/DatumMapEntry/value.adoc[`value`] 
| Return the value for this entry&period;
| xref:BloombergLP/bdld/DatumMapEntry/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;DatumMapEntry, HasPrintMethod&gt;`] 
| Declare nested type traits for this type&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdld/operator_not_eq-0ae.adoc[`operator!&equals;`]
| Return `true` if the specified `lhs` and `rhs` have different values, and `false` otherwise&period; Two `DatumMapEntry` objects have different values if either the keys or values are not equal&period;
| xref:BloombergLP/bdld/operator_eq-000.adoc[`operator&equals;&equals;`]
| Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise&period; Two `DatumMapEntry` objects have the same value if their keys and values compare equal&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
