Navigation
API > API/Runtime > API/Runtime/Chaos
Default traits for THashMappedArray that works for all ID/Element pairs where the ID has a MurmurFinalize32 implementation and we can compare equality of Elements and IDs.
| Name | THashMappedArrayTraits |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/HashMappedArray.h |
| Include Path | #include "Chaos/Framework/HashMappedArray.h" |
Syntax
template<typename TIDType, typename TElementType >
struct THashMappedArrayTraits
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FElementType | TElementType | Chaos/Framework/HashMappedArray.h | |
| FIDType | TIDType | Chaos/Framework/HashMappedArray.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FIDType GetElementID
(
const FElementType& Element |
Chaos/Framework/HashMappedArray.h | ||
static uint32 GetIDHash
(
const FIDType& ID |
Hash the ID to a 32 bit unsigned int for use with FHashTable. | Chaos/Framework/HashMappedArray.h |