[#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 `<bdlcc_stripedunorderedcontainerimpl.h>` Load, into the specified `*value`, the value attribute of the first element (of possibly many elements) found in this hash map having the specified `key`. Return 1 on success, and 0 if `key` does not exist in this hash. Note that the return value equals the number of values returned. Also note that, when there are multiple elements having `key`, the selection of "first" is implementation specific and subject to change. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-09.adoc[getValue]( VALUE* value, KEY const& key) const; ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-09.adoc[_» more..._]# Load, into the specified `*valuesPtr`, the value attributes of every element in this hash map having the specified `key`. Return the number of elements found with `key`. Note that the order of the values returned is not specified. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-0c.adoc[getValue]( xref:bsl/vector-00d.adoc[bsl::vector<VALUE>]* valuesPtr, KEY const& key) const; ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-0c.adoc[_» more..._]# Same as the preceding overload, using a `std::pmr::vector` buffer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-0f.adoc[getValue]( std::pmr::vector<VALUE>* valuesPtr, KEY const& key) const; ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-0f.adoc[_» more..._]# Same as the preceding overload, using a `std::vector` buffer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-03.adoc[getValue]( std::vector<VALUE>* valuesPtr, KEY const& key) const; ---- [.small]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/getValue-03.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#