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