BDE 4.14.0 Production release
|
#include <bdld_datum.h>
Public Types | |
typedef Datum::SizeType | SizeType |
Public Member Functions | |
DatumMutableMapRef () | |
Create a DatumMutableMapRef object. | |
DatumMutableMapRef (DatumMapEntry *data, SizeType *size, bool *sorted) | |
DatumMutableMapRef (const DatumMutableMapRef &original)=default | |
~DatumMutableMapRef ()=default | |
DatumMutableMapRef & | operator= (const DatumMutableMapRef &rhs)=default |
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. | |
SizeType * | size () const |
bool * | sorted () const |
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.
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 DatumMutableMapRef
object having the specified data
, size
, and sorted
.
|
default |
Create a DatumMutableMapRef
having the value of the specified original
object. Note that this method's definition is compiler generated.
|
default |
Destroy this object. Note that this method's definition is compiler generated.
|
inline |
|
inline |
|
default |
|
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.