[#BloombergLP-bdlcc-StripedUnorderedContainerImpl-getValue-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl.adoc[StripedUnorderedContainerImpl]::getValue
:relfileprefix: ../../../
:mrdocs:

`getValue` overloads

== Synopses

Declared in `&lt;bdlcc&lowbar;stripedunorderedcontainerimpl&period;h&gt;`

Load, into the specified `&ast;value`, the value attribute of the first element (of possibly many elements) found in this hash map having the specified `key`&period; Return 1 on success, and 0 if `key` does not exist in this hash&period; Note that the return value equals the number of values returned&period; Also note that, when there are multiple elements having `key`, the selection of &quot;first&quot; is implementation specific and subject to change&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-09.adoc[getValue](
    VALUE* value,
    KEY const& key) const;
----

[.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-09.adoc[_» more&period;&period;&period;_]#

Load, into the specified `&ast;valuesPtr`, the value attributes of every element in this hash map having the specified `key`&period; Return the number of elements found with `key`&period; Note that the order of the values returned is not specified&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-0c.adoc[getValue](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;VALUE&gt;]* valuesPtr,
    KEY const& key) const;
----

[.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-0c.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, using a `std&colon;&colon;pmr&colon;&colon;vector` buffer&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-0f.adoc[getValue](
    std::pmr::vector&lt;VALUE&gt;* valuesPtr,
    KEY const& key) const;
----

[.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-0f.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, using a `std&colon;&colon;vector` buffer&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-03.adoc[getValue](
    std::vector&lt;VALUE&gt;* valuesPtr,
    KEY const& key) const;
----

[.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-03.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
