This class provides a mutable access to a datum map. The users of this class can assign to the individual elements and also change the size of the map.

Synopsis

Declared in <bdld_datum.h>

class DatumMutableMapRef;

Type Aliases

Name

Description

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

Name

Description

DatumMutableMapRef [constructor]

Constructors

allocatedPtr

Return pointer to the memory allocated for the map.

data

Return pointer to the first element in the (held) map.

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