Quick Links: |
#include <bdld_datum.h>
Public Types | |
typedef Datum::SizeType | SizeType |
Public Member Functions | |
DatumMutableArrayRef () | |
DatumMutableArrayRef (Datum *data, SizeType *length) | |
DatumMutableArrayRef (const DatumMutableArrayRef &original) | |
~DatumMutableArrayRef () | |
DatumMutableArrayRef & | operator= (const DatumMutableArrayRef &rhs) |
Datum * | data () const |
SizeType * | length () const |
This class
provides mutable access to a datum array. The users of this class can read from and assign to the individual elements as well as change the length of the array.
bdld::DatumMutableArrayRef::DatumMutableArrayRef | ( | ) |
Create a DatumMutableArrayRef
object that refers to no array.
Create a DatumMutableArrayRef
object having the specified data
and length
.
bdld::DatumMutableArrayRef::DatumMutableArrayRef | ( | const DatumMutableArrayRef & | original | ) |
Create a DatumMutableArrayRef
having the value of the specified original
object. Note that this method's definition is compiler generated.
bdld::DatumMutableArrayRef::~DatumMutableArrayRef | ( | ) |
Destroy this object. Note that this method's definition is compiler generated.
DatumMutableArrayRef& bdld::DatumMutableArrayRef::operator= | ( | const DatumMutableArrayRef & | rhs | ) |
Assign to this object the value of the specified rhs
object. Note that this method's definition is compiler generated.
Datum* bdld::DatumMutableArrayRef::data | ( | ) | const |
Return pointer to the first element of the held array.
SizeType* bdld::DatumMutableArrayRef::length | ( | ) | const |
Return pointer to the length of the array.