UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FUObjectHashTables Class Reference

Public Member Functions

 FUObjectHashTables ()
 
UE_AUTORTFM_NOAUTORTFM void ShrinkMaps ()
 
FORCEINLINE bool PairExistsInHash (int32 InHash, UObjectBase *Object)
 
FORCEINLINE void AddToHash (int32 InHash, UObjectBase *Object)
 
FORCEINLINE int32 RemoveFromHash (int32 InHash, UObjectBase *Object)
 
FORCEINLINE void Lock ()
 
FORCEINLINE void Unlock ()
 

Static Public Member Functions

static FUObjectHashTablesGet ()
 

Public Attributes

TBucketMap< int32Hash
 
TMultiMap< int32, uint32HashOuter
 
TBucketMap< UObjectBase * > ObjectOuterMap
 
TBucketMap< UClass * > ClassToObjectListMap
 
TMap< UClass *, TSet< UClass * > > ClassToChildListMap
 
std::atomic< uint64AllClassesVersion
 
std::atomic< uint64NativeClassesVersion
 
TBucketMap< UPackage * > PackageToObjectListMap
 
TMap< UObjectBase *, UPackage * > ObjectToPackageMap
 

Constructor & Destructor Documentation

◆ FUObjectHashTables()

FUObjectHashTables::FUObjectHashTables ( )
inline

Member Function Documentation

◆ AddToHash()

FORCEINLINE void FUObjectHashTables::AddToHash ( int32  InHash,
UObjectBase Object 
)
inline

Adds the Hash/Object pair to the FName hash table

◆ Get()

static FUObjectHashTables & FUObjectHashTables::Get ( )
inlinestatic

◆ Lock()

FORCEINLINE void FUObjectHashTables::Lock ( )
inline

◆ PairExistsInHash()

FORCEINLINE bool FUObjectHashTables::PairExistsInHash ( int32  InHash,
UObjectBase Object 
)
inline

Checks if the Hash/Object pair exists in the FName hash table

◆ RemoveFromHash()

FORCEINLINE int32 FUObjectHashTables::RemoveFromHash ( int32  InHash,
UObjectBase Object 
)
inline

Removes the Hash/Object pair from the FName hash table

◆ ShrinkMaps()

UE_AUTORTFM_NOAUTORTFM void FUObjectHashTables::ShrinkMaps ( )
inline

◆ Unlock()

FORCEINLINE void FUObjectHashTables::Unlock ( )
inline

Member Data Documentation

◆ AllClassesVersion

std::atomic<uint64> FUObjectHashTables::AllClassesVersion

◆ ClassToChildListMap

TMap<UClass*, TSet<UClass*> > FUObjectHashTables::ClassToChildListMap

◆ ClassToObjectListMap

TBucketMap<UClass*> FUObjectHashTables::ClassToObjectListMap

◆ Hash

TBucketMap<int32> FUObjectHashTables::Hash

Hash sets

◆ HashOuter

TMultiMap<int32, uint32> FUObjectHashTables::HashOuter

◆ NativeClassesVersion

std::atomic<uint64> FUObjectHashTables::NativeClassesVersion

◆ ObjectOuterMap

TBucketMap<UObjectBase*> FUObjectHashTables::ObjectOuterMap

Map of object to their outers, used to avoid an object iterator to find such things.

◆ ObjectToPackageMap

TMap<UObjectBase*, UPackage*> FUObjectHashTables::ObjectToPackageMap

Map of object to their external package.

◆ PackageToObjectListMap

TBucketMap<UPackage*> FUObjectHashTables::PackageToObjectListMap

Map of package to the object their contain.


The documentation for this class was generated from the following file: