BloombergLP::bdld::DatumIntMapEntry

This class represents an entry in a datum map keyed by string values.

Synopsis

Declared in <bdld_datum.h>

class DatumIntMapEntry;

Member Functions

NameDescription
DatumIntMapEntry [constructor]Constructors
key Return the key for this entry.
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.
setKey Set the key for this entry to the specified key.
setValue Set the value for this entry to the specified value.
value Return the value for this entry.
operator BloombergLP::bslmf::NestedTraitDeclaration<DatumIntMapEntry, HasPrintMethod> Declare nested type traits for this type.

Non-Member Functions

NameDescription
operator!=Return true if the specified lhs and rhs have different values, and false otherwise. Two DatumIntMapEntry objects have different values if either the keys or values are not equal.
operator==Return true if the specified lhs and rhs have the same value, and false otherwise. Two DatumIntMapEntry objects have the same value if their keys and values compare equal.