Quick Links: |
#include <bdld_datum.h>
Public Types | |
typedef Datum::SizeType | SizeType |
Public Member Functions | |
DatumMutableIntMapRef () | |
DatumMutableIntMapRef (DatumIntMapEntry *data, SizeType *size, bool *sorted) | |
DatumMutableIntMapRef (const DatumMutableIntMapRef &original) | |
~DatumMutableIntMapRef () | |
DatumMutableIntMapRef & | operator= (const DatumMutableIntMapRef &rhs) |
DatumIntMapEntry * | data () const |
SizeType * | size () const |
bool * | sorted () const |
This class
provides a mutable access to a datum int-map. The users of this class can assign to the individual elements and also change the size of the map.
bdld::DatumMutableIntMapRef::DatumMutableIntMapRef | ( | ) |
Create a DatumMutableIntMapRef
object.
bdld::DatumMutableIntMapRef::DatumMutableIntMapRef | ( | DatumIntMapEntry * | data, | |
SizeType * | size, | |||
bool * | sorted | |||
) |
Create a DatumMutableIntMapRef
object having the specified data
, size
, and sorted
.
bdld::DatumMutableIntMapRef::DatumMutableIntMapRef | ( | const DatumMutableIntMapRef & | original | ) |
Create a DatumMutableIntMapRef
having the value of the specified original
object. Note that this method's definition is compiler generated.
bdld::DatumMutableIntMapRef::~DatumMutableIntMapRef | ( | ) |
Destroy this object. Note that this method's definition is compiler generated.
DatumMutableIntMapRef& bdld::DatumMutableIntMapRef::operator= | ( | const DatumMutableIntMapRef & | rhs | ) |
Assign to this object the value of the specified rhs
object. Note that this method's definition is compiler generated.
DatumIntMapEntry* bdld::DatumMutableIntMapRef::data | ( | ) | const |
Return pointer to the first element in the (held) map.
SizeType* bdld::DatumMutableIntMapRef::size | ( | ) | const |
Return pointer to the location where the (held) map's size is stored.
bool* bdld::DatumMutableIntMapRef::sorted | ( | ) | const |
Return pointer to the location where the (held) map's sorted flag is stored.