This class provides a read‐only view to a map of datums (an array of DatumIntMapEntry objects). It holds the array by a const pointer and an integral size value. It acts as return value for accessors inside the Datum class that return a map of Datum objects. Note that zero‐size maps are valid.
Synopsis
Declared in <bdld_datum.h>
class DatumIntMapRef;
Type Aliases
Name |
Description |
|
|
Const iterator for this integer map reference. |
|
Const pointer to an element. |
|
Const reference to an element. |
|
Const reverse iterator for this integer map reference. |
|
Iterator difference type for this integer map reference. |
|
Element type for this integer map reference. |
|
Iterator for this array reference. |
|
Pointer to a map entry. |
|
Reference to an element. |
|
Reverse iterator for this integer map reference. |
|
Size type for this integer map reference. |
|
Value type for this integer map reference. |
Member Functions
Name |
Description |
|
Create a |
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 to the first map entry. |
|
Return an iterator providing non‐modifiable access to the first element of the array of map entries 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 map reference. |
|
Return a const pointer to the datum having the specified |
|
Return a reference providing non‐modifiable access to the first element of the array this reference object represents. The behavior is undefined unless |
|
Return |
|
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 map entry. |
|
Return a past‐the‐end reverse iterator for this map 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