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