UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::AssetRegistry::Impl::FClassInheritanceBuffer Struct Reference

#include <AssetRegistryImpl.h>

Public Member Functions

bool IsUpToDate (uint64 CurrentAllClassesVersionNumber) const
 
void Clear ()
 
SIZE_T GetAllocatedSize () const
 

Public Attributes

TMap< FTopLevelAssetPath, FTopLevelAssetPathInheritanceMap
 
TMap< FTopLevelAssetPath, TArray< FTopLevelAssetPath > > ReverseInheritanceMap
 
uint64 SavedAllClassesVersionNumber = MAX_uint64
 
bool bDirty = true
 

Detailed Description

Container for global class inheritance data; the AssetRegistry may use a persistent buffer or a stack local buffer.

Member Function Documentation

◆ Clear()

void UE::AssetRegistry::Impl::FClassInheritanceBuffer::Clear ( )

Delete data and free allocations.

◆ GetAllocatedSize()

SIZE_T UE::AssetRegistry::Impl::FClassInheritanceBuffer::GetAllocatedSize ( ) const

Report size of dynamic allocations.

◆ IsUpToDate()

bool UE::AssetRegistry::Impl::FClassInheritanceBuffer::IsUpToDate ( uint64  CurrentAllClassesVersionNumber) const

Report whether the dirty flag and other checks indicate this buffer does not need to be updated.

Member Data Documentation

◆ bDirty

bool UE::AssetRegistry::Impl::FClassInheritanceBuffer::bDirty = true

Dirty flag to invalidate on other changes requiring a recompute.

◆ InheritanceMap

TMap<FTopLevelAssetPath, FTopLevelAssetPath> UE::AssetRegistry::Impl::FClassInheritanceBuffer::InheritanceMap

Map from Class->SuperClass for all classes including native classes and blueprint classes. Updated on demand.

◆ ReverseInheritanceMap

TMap<FTopLevelAssetPath, TArray<FTopLevelAssetPath> > UE::AssetRegistry::Impl::FClassInheritanceBuffer::ReverseInheritanceMap

Map from Class->(All subclasses) for all classes including native classes and blueprint classes. Updated on demand.

◆ SavedAllClassesVersionNumber

uint64 UE::AssetRegistry::Impl::FClassInheritanceBuffer::SavedAllClassesVersionNumber = MAX_uint64

Snapshot of GetCurrentAllClassesVersionNumber() at the time of the last update, to invalidate on changes to classes.


The documentation for this struct was generated from the following files: