|
BDE 4.14.0 Production release
|
#include <bdld_datum.h>
Public Types | |
| typedef Datum::SizeType | SizeType |
Public Member Functions | |
| DatumMutableMapOwningKeysRef () | |
Create a DatumMutableMapOwningKeysRef object. | |
| DatumMutableMapOwningKeysRef (DatumMapEntry *data, SizeType *size, SizeType allocatedSize, char *keys, bool *sorted) | |
| DatumMutableMapOwningKeysRef (const DatumMutableMapOwningKeysRef &original)=default | |
| ~DatumMutableMapOwningKeysRef ()=default | |
| Destroy this object. | |
| DatumMutableMapOwningKeysRef & | operator= (const DatumMutableMapOwningKeysRef &rhs)=default |
| SizeType | allocatedSize () const |
| Return the number of bytes allocated for the map. | |
| void * | allocatedPtr () const |
| Return pointer to the memory allocated for the map. | |
| DatumMapEntry * | data () const |
| Return pointer to the first element in the held map. | |
| char * | keys () const |
| Return pointer to the start of the buffer where keys are stored. | |
| SizeType * | size () const |
| bool * | sorted () const |
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.
See bdld_datum
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.
|
inline |
|
inline |
Create a DatumMutableMapOwningKeysRef object having the specified data, size, allocatedSize, keys, and sorted.
|
default |
Create a DatumMutableMapOwningKeysRef having the value of the specified original object.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
Assign to this object the value of the specified rhs object. Note that this method's definition is compiler generated.
|
inline |
Return pointer to the location where the (held) map's size is stored.
|
inline |
Return pointer to the location where the (held) map's sorted flag is stored.