Read-only view of an array of Datum values.
Declared in <bdld_datum.h>
class DatumArrayRef;
This class provides a read-only view to an array of datums. It holds the array by a const pointer and an integral length value. It acts as return value for accessors inside the Datum class that return an array of datums. Note that zero-length arrays are valid.
| Name | Description |
|---|---|
SizeType | SizeType is an alias for an unsigned integral value, representing the length of a datum array. |
const_iterator | Const iterator for this array reference. |
const_pointer | Const pointer to an element. |
const_reference | Const reference to an element. |
const_reverse_iterator | Const reverse iterator for this array reference. |
difference_type | Iterator difference type for this array reference. |
element_type | This typedef is an alias for element_type. |
iterator | Iterator for this array reference. |
pointer | Pointer to an element. |
reference | Reference to an element. |
reverse_iterator | Reverse iterator for this array reference. |
size_type | Size type for this array reference. |
value_type | Value type for this array reference. |
| Name | Description |
|---|---|
DatumArrayRef [constructor] | Constructors |
back | Return a reference to the last element of this array. |
begin | Return an iterator providing non-modifiable access to the first element of the array this reference object represents. |
cbegin | Return an iterator to the first element of this array. |
cend | Return an iterator providing non-modifiable access pointing past-the-end of the array this reference object represents. |
crbegin | Return a reverse iterator to the last element of this array. |
crend | Return a reverse iterator providing non-modifiable access pointing past-the-end of the array this reference object represents. |
data | Return a pointer to the first element of this array. |
empty | Return size() == 0. |
end | Return a past-the-end iterator for this array reference. |
front | Return a reference to the first element of this array. |
length | Return a const pointer to the length of the array. |
operator[] | Return a reference to the element at the specified position. |
print | Format this object to the specified output stream. |
rbegin | Return a reverse iterator to the last element of this array reference. |
rend | Return a past-the-end reverse iterator for this array reference. |
size | Return a const-pointer to the number of elements of the array this reference object represents. |
operator BloombergLP::bslmf::NestedTraitDeclaration<DatumArrayRef, HasPrintMethod> | DatumArrayRef is trivially copyable. |
| Name | Description |
|---|---|
operator!= | Return whether lhs and rhs have different values. |
operator== | Return whether lhs and rhs have the same value. |