Read‐only view of a map of Datum values keyed by integers.
Synopsis
Declared in <bdld_datum.h>
class DatumIntMapRef;
Description
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.
Type Aliases
Name |
Description |
Unsigned integral type for capacities, key sizes, and string lengths. |
|
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 an integer‐map reference. |
Return a reference to the last entry of this map. |
|
Return an iterator to the first map entry. |
|
Return an iterator to the first entry of this map. |
|
Return an iterator providing non‐modifiable access pointing past‐the‐end of the array this reference object represents. |
|
Return a reverse iterator to the last entry of this map. |
|
Return a reverse iterator providing non‐modifiable access pointing past‐the‐end of the array this reference object represents. |
|
Return a pointer to the first entry of this map. |
|
Return |
|
Return a past‐the‐end iterator for this map reference. |
|
Return a pointer to the datum with the specified |
|
Return a reference to the first entry of this map. |
|
Return |
|
Return a reference to the map entry at the specified |
|
Format this object to the specified output stream. |
|
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 whether |
|
Return whether |
Created with MrDocs