![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ISpatialAcceleration.h>
Public Types | |
| using | ElementType = TValue |
| using | PairType = SQMapKeyWithValue< TKey, TValue > |
Public Member Functions | |
| SIZE_T | GetAllocatedSize () const |
| int32 | Num () const |
| int32 | Capacity () const |
| void | Reserve (int32 NumToReserve) |
| void | ResizeHashBuckets (uint32 NewSize) |
| TValue * | Find (const TKey &Key) |
| const TValue * | Find (const TKey &Key) const |
| TValue & | FindChecked (const TKey &Key) |
| const TValue & | FindChecked (const TKey &Key) const |
| TValue & | FindOrAdd (const TKey &Key) |
| void | Empty () |
| FORCEINLINE TValue & | Add (const TKey &Key) |
| FORCEINLINE TValue & | Add (uint32 InHash, const TKey &Key) |
| void | Add (const TKey &Key, const TValue &Value) |
| void | RemoveChecked (const TKey &Key) |
| void | Remove (const TKey &Key) |
| void | Reset () |
| FORCEINLINE int32 | FindIndex (const TKey &Key) const |
| FORCEINLINE int32 | FindIndex (uint32 InHash, int32 UniqueIndex) const |
| void | Serialize (FChaosArchive &Ar) |
| void | AddFrom (const TSQMap< TKey, TValue > &Source, int32 SourceIndex) |
Static Public Member Functions | |
| static constexpr uint32 | GetTypeSize () |
Public Attributes | |
| TArray< PairType > | Elements |
| FSQHashTable | HashTable |
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).
| using Chaos::TSQMap< TKey, TValue >::ElementType = TValue |
| using Chaos::TSQMap< TKey, TValue >::PairType = SQMapKeyWithValue<TKey, TValue> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| TArray<PairType> Chaos::TSQMap< TKey, TValue >::Elements |
| FSQHashTable Chaos::TSQMap< TKey, TValue >::HashTable |