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