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.
Synopsis
Declared in <bdld_datum.h>
class DatumArrayRef;
Type Aliases
Name |
Description |
|
|
Const iterator for this array reference. |
|
Const pointer to an element. |
|
Const reference to an element. |
|
Const reverse iterator for this array reference. |
|
Iterator difference type for this array reference. |
|
This |
|
Iterator for this array reference. |
|
Pointer to an element. |
|
Reference to an element. |
|
Reverse iterator for this array reference. |
|
Size type for this array reference. |
|
Value type for this array reference. |
Member Functions
Name |
Description |
|
Constructors |
Return a reference providing non‐modifiable access to the last element of the array this reference object represents. The behavior is undefined unless |
|
Return an iterator providing non‐modifiable access to the first element of the array this reference object represents. |
|
Return an iterator providing non‐modifiable access to the first element of the array this reference object represents; return a past‐the‐end iterator if |
|
Return an iterator providing non‐modifiable access pointing past‐the‐end of the array this reference object represents. |
|
Return a reverse iterator providing non‐modifiable access to the last element of the array this reference object represents, and the past‐the‐end reverse iterator if |
|
Return a reverse iterator providing non‐modifiable access pointing past‐the‐end of the array this reference object represents. |
|
Return the address providing non‐modifiable access to the first element of the array this reference object represents. Return a valid pointer which cannot be dereferenced if the |
|
Return |
|
Return a past‐the‐end iterator for this array reference. |
|
Return a reference providing non‐modifiable access to the first element of the array this reference object represents. The behavior is undefined unless |
|
Return a const pointer to the length of the array. |
|
Return a reference providing non‐modifiable access to the element at the specified |
|
Write the value of this object to the specified output |
|
Return a reverse iterator to the last element of this array reference. |
|
Return a past‐the‐end reverse iterator for this array reference. |
|
Return a const‐pointer to the number of elements of the array this reference object represents. |
|
|
|
Non-Member Functions
Name |
Description |
Return |
|
Return |
Created with MrDocs