[#BloombergLP-bdld-DatumIntMapRef] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::DatumIntMapRef :relfileprefix: ../../ :mrdocs: Read‐only view of a map of `Datum` values keyed by integers. == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdld/DatumIntMapRef/SizeType.adoc[`SizeType`] | Unsigned integral type for capacities, key sizes, and string lengths. | xref:BloombergLP/bdld/DatumIntMapRef/const_iterator.adoc[`const_iterator`] | Const iterator for this integer map reference. | xref:BloombergLP/bdld/DatumIntMapRef/const_pointer.adoc[`const_pointer`] | Const pointer to an element. | xref:BloombergLP/bdld/DatumIntMapRef/const_reference.adoc[`const_reference`] | Const reference to an element. | xref:BloombergLP/bdld/DatumIntMapRef/const_reverse_iterator.adoc[`const_reverse_iterator`] | Const reverse iterator for this integer map reference. | xref:BloombergLP/bdld/DatumIntMapRef/difference_type.adoc[`difference_type`] | Iterator difference type for this integer map reference. | xref:BloombergLP/bdld/DatumIntMapRef/element_type.adoc[`element_type`] | Element type for this integer map reference. | xref:BloombergLP/bdld/DatumIntMapRef/iterator.adoc[`iterator`] | Iterator for this array reference. | xref:BloombergLP/bdld/DatumIntMapRef/pointer.adoc[`pointer`] | Pointer to a map entry. | xref:BloombergLP/bdld/DatumIntMapRef/reference.adoc[`reference`] | Reference to an element. | xref:BloombergLP/bdld/DatumIntMapRef/reverse_iterator.adoc[`reverse_iterator`] | Reverse iterator for this integer map reference. | xref:BloombergLP/bdld/DatumIntMapRef/size_type.adoc[`size_type`] | Size type for this integer map reference. | xref:BloombergLP/bdld/DatumIntMapRef/value_type.adoc[`value_type`] | Value type for this integer map reference. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdld/DatumIntMapRef/2constructor.adoc[`DatumIntMapRef`] [.small]#[constructor]# | Create an integer‐map reference. | xref:BloombergLP/bdld/DatumIntMapRef/back.adoc[`back`] | Return a reference to the last entry of this map. | xref:BloombergLP/bdld/DatumIntMapRef/begin.adoc[`begin`] | Return an iterator to the first map entry. | xref:BloombergLP/bdld/DatumIntMapRef/cbegin.adoc[`cbegin`] | Return an iterator to the first entry of this map. | xref:BloombergLP/bdld/DatumIntMapRef/cend.adoc[`cend`] | Return an iterator providing non‐modifiable access pointing past‐the‐end of the array this reference object represents. | xref:BloombergLP/bdld/DatumIntMapRef/crbegin.adoc[`crbegin`] | Return a reverse iterator to the last entry of this map. | xref:BloombergLP/bdld/DatumIntMapRef/crend.adoc[`crend`] | Return a reverse iterator providing non‐modifiable access pointing past‐the‐end of the array this reference object represents. | xref:BloombergLP/bdld/DatumIntMapRef/data.adoc[`data`] | Return a pointer to the first entry of this map. | xref:BloombergLP/bdld/DatumIntMapRef/empty.adoc[`empty`] | Return `size() == 0`. | xref:BloombergLP/bdld/DatumIntMapRef/end.adoc[`end`] | Return a past‐the‐end iterator for this map reference. | xref:BloombergLP/bdld/DatumIntMapRef/find.adoc[`find`] | Return a pointer to the datum with the specified `key`, or null. | xref:BloombergLP/bdld/DatumIntMapRef/front.adoc[`front`] | Return a reference to the first entry of this map. | xref:BloombergLP/bdld/DatumIntMapRef/isSorted.adoc[`isSorted`] | Return `true` if underlying map is sorted and `false` otherwise. | xref:BloombergLP/bdld/DatumIntMapRef/operator_subs.adoc[`operator[]`] | Return a reference to the map entry at the specified `position`. | xref:BloombergLP/bdld/DatumIntMapRef/print.adoc[`print`] | Format this object to the specified output stream. | xref:BloombergLP/bdld/DatumIntMapRef/rbegin.adoc[`rbegin`] | Return a reverse iterator to the last map entry. | xref:BloombergLP/bdld/DatumIntMapRef/rend.adoc[`rend`] | Return a past‐the‐end reverse iterator for this map reference. | xref:BloombergLP/bdld/DatumIntMapRef/size.adoc[`size`] | Return a const‐pointer to the number of elements of the array this reference object represents. | xref:BloombergLP/bdld/DatumIntMapRef/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<DatumIntMapRef, HasPrintMethod>`] | `DatumIntMapRef` is trivially copyable. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdld/operator_not_eq-04.adoc[`operator!=`] | Return whether `lhs` and `rhs` have different values. | xref:BloombergLP/bdld/operator_eq-0c.adoc[`operator==`] | Return whether `lhs` and `rhs` have the same value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#