BloombergLP::bdlcc::StripedUnorderedContainerImpl::getValue

getValue overloads

Synopses

Declared in <bdlcc_stripedunorderedcontainerimpl.h>

Load the first value found for key into *value.

std::size_t
getValue(
    VALUE* value,
    KEY const& key) const;
» more...

Load every value found for key into *valuesPtr.

std::size_t
getValue(
    bsl::vector<VALUE>* valuesPtr,
    KEY const& key) const;
» more...

Same as the preceding overload, using a std::pmr::vector buffer.

std::size_t
getValue(
    std::pmr::vector<VALUE>* valuesPtr,
    KEY const& key) const;
» more...

Same as the preceding overload, using a std::vector buffer.

std::size_t
getValue(
    std::vector<VALUE>* valuesPtr,
    KEY const& key) const;
» more...

Return Value

  • 1 on success, and 0 if key does not exist
  • number of elements found with key

Parameters

NameDescription
valuereceives the value of the first matching element
keykey of the element to look up
valuesPtrreceives the values of all matching elements