Navigation
API > API/Runtime > API/Runtime/Chaos
Map structure using FHashTable as a base store for payload data FHashTable is a fast, limited API map that requires some management. In this case as we already have unique values we can just mix the bits to get a reasonable distribution (the calls to MurmurFinalize32).
| Name | TSQMap |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ISpatialAcceleration.h |
| Include Path | #include "Chaos/ISpatialAcceleration.h" |
Syntax
template<typename TKey, typename TValue>
class TSQMap
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ElementType | TValue | Chaos/ISpatialAcceleration.h | |
| PairType | SQMapKeyWithValue< TKey, TValue > | Chaos/ISpatialAcceleration.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Elements | TArray< PairType > | Chaos/ISpatialAcceleration.h | ||
| HashTable | FSQHashTable | Chaos/ISpatialAcceleration.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
const TKey& Key, |
Chaos/ISpatialAcceleration.h | ||
TValue & Add
(
uint32 InHash, |
Chaos/ISpatialAcceleration.h | ||
TValue & Add
(
const TKey& Key |
Chaos/ISpatialAcceleration.h | ||
void AddFrom
(
const TSQMap< TKey, TValue >& Source, |
Chaos/ISpatialAcceleration.h | ||
int32 Capacity() |
Chaos/ISpatialAcceleration.h | ||
void Empty() |
Chaos/ISpatialAcceleration.h | ||
const TValue * Find
(
const TKey& Key |
Chaos/ISpatialAcceleration.h | ||
TValue * Find
(
const TKey& Key |
Chaos/ISpatialAcceleration.h | ||
const TValue & FindChecked
(
const TKey& Key |
Chaos/ISpatialAcceleration.h | ||
TValue & FindChecked
(
const TKey& Key |
Chaos/ISpatialAcceleration.h | ||
int32 FindIndex
(
uint32 InHash, |
Chaos/ISpatialAcceleration.h | ||
int32 FindIndex
(
const TKey& Key |
Chaos/ISpatialAcceleration.h | ||
TValue & FindOrAdd
(
const TKey& Key |
Chaos/ISpatialAcceleration.h | ||
SIZE_T GetAllocatedSize() |
Chaos/ISpatialAcceleration.h | ||
int32 Num() |
Chaos/ISpatialAcceleration.h | ||
void Remove
(
const TKey& Key |
Chaos/ISpatialAcceleration.h | ||
void RemoveChecked
(
const TKey& Key |
Chaos/ISpatialAcceleration.h | ||
void Reserve
(
int32 NumToReserve |
Chaos/ISpatialAcceleration.h | ||
void Reset() |
Chaos/ISpatialAcceleration.h | ||
void ResizeHashBuckets
(
uint32 NewSize |
Chaos/ISpatialAcceleration.h | ||
void Serialize
(
FChaosArchive& Ar |
Chaos/ISpatialAcceleration.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 GetTypeSize() |
Chaos/ISpatialAcceleration.h |