BloombergLP::bdld::DatumMutableMapOwningKeysRef

This class provides mutable access to a datum key-owning map. The users of this class can assign to the individual elements, copy keys and change the size of the map.

Synopsis

Declared in <bdld_datum.h>

class DatumMutableMapOwningKeysRef;

Type Aliases

NameDescription
SizeType SizeType is an alias for an unsigned integral value, representing the capacity of a datum array, the capacity of a datum map, the capacity of the keys-capacity of a datum-key-owning map or the length of a string.

Member Functions

NameDescription
DatumMutableMapOwningKeysRef [constructor]Constructors
allocatedPtr Return pointer to the memory allocated for the map.
allocatedSize Return the number of bytes allocated for the map.
data Return pointer to the first element in the held map.
keys Return pointer to the start of the buffer where keys are stored.
size Return pointer to the location where the (held) map's size is stored.
sorted Return pointer to the location where the (held) map's sorted flag is stored.