|
BDE 4.39.x Production Release
|
#include <bdld_datum.h>
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.
See bdld_datum
Public Types | |
| typedef Datum::SizeType | SizeType |
Public Member Functions | |
| DatumMutableArrayRef () | |
| DatumMutableArrayRef (Datum *data, SizeType *length, SizeType capacity) | |
| DatumMutableArrayRef (const DatumMutableArrayRef &original)=default | |
| ~DatumMutableArrayRef ()=default | |
| DatumMutableArrayRef & | operator= (const DatumMutableArrayRef &rhs)=default |
| void * | allocatedPtr () const |
| Datum * | data () const |
| SizeType * | length () const |
| SizeType | capacity () const |
SizeType is an alias for an unsigned integral value, representing the capacity of a datum array.
|
inline |
Create a DatumMutableArrayRef object that refers to no array.
|
inline |
Create a DatumMutableArrayRef object having the specified data, length, and capacity.
|
default |
Create a DatumMutableArrayRef having the value of the specified original object.
|
default |
Destroy this object.
|
inline |
Return pointer to the memory allocated for the array.
|
inline |
Return the allocated capacity of the array.
|
inline |
Return pointer to the first element of the held array.
|
inline |
Return pointer to the length of the array.
|
default |
Assign to this object the value of the specified rhs object.