TMultiMap::MultiFindPointer

Finds all values associated with the specified key.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Map.h

Include

#include "Containers/Map.h"

Syntax

template<typename Allocator>
void MultiFindPointer
(
    KeyInitType Key,
    TArray< const ValueType *, Allocator > & OutValues,
    bool bMaintainOrder
) const

Remarks

Finds all values associated with the specified key.

Parameters

Parameter

Description

Key

The key to find associated values for.

OutValues

Upon return, contains pointers to the values associated with the key. Pointers are only valid until the next change to any key in the map.

bMaintainOrder

true if the Values array should be in the same order as the map's pairs.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss