Mutable view of a key‐owning datum map.

Synopsis

Declared in <bdld_datum.h>

class DatumMutableMapOwningKeysRef;

Description

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.

Type Aliases

Name

Description

SizeType

Unsigned integral type for capacities, key sizes, and string lengths.

Member Functions

Name

Description

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.

Created with MrDocs