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

Public Member Functions

 FLoadedPackageRef ()=default
 
 FLoadedPackageRef (const FLoadedPackageRef &Other)=delete
 
 FLoadedPackageRef (FLoadedPackageRef &&Other)=default
 
FLoadedPackageRefoperator= (const FLoadedPackageRef &Other)=delete
 
FLoadedPackageRefoperator= (FLoadedPackageRef &&Other)=default
 
int32 GetRefCount () const
 
FName GetOriginalPackageName () const
 
bool HasPackage () const
 
bool HasErrors () const
 
EPackageLoader GetPackageLoader () const
 
EPackageExtension GetPackageHeaderExtension () const
 
UPackageGetPackage () const
 
void SetPackage (UPackage *InPackage)
 
void RemoveUnreferencedObsoletePackage ()
 
void ReplaceReferencedRenamedPackage (UPackage *NewPackage)
 
bool AreAllPublicExportsLoaded () const
 
void SetAllPublicExportsLoaded (bool bSnapshotExportCount)
 
void SetIsMissingPackage ()
 
void ClearErrorFlags ()
 
void SetHasFailed ()
 
FPublicExportMap::FValueIterator GetPublicExportObjectIndices ()
 
void PreInsertPublicExports (TConstArrayView< TConstArrayView< FExportMapEntry > > Exports)
 
void StorePublicExport (uint64 ExportHash, UObject *Object)
 
void RemovePublicExport (uint64 ExportHash, FName ObjectName=NAME_None)
 
UObjectGetPublicExport (uint64 ExportHash)
 
void PinPublicExportsForGC (TArray< int32 > &OutUnreachableObjectIndices)
 
void UnpinPublicExportsForGC ()
 

Friends

class FGlobalImportStore
 
class FPublicExportMapBasicTest
 
class FPublicExportMapIterationTest
 
class FPublicExportMapPreInsertPublicExportsTest
 

Constructor & Destructor Documentation

◆ FLoadedPackageRef() [1/3]

FLoadedPackageRef::FLoadedPackageRef ( )
default

◆ FLoadedPackageRef() [2/3]

FLoadedPackageRef::FLoadedPackageRef ( const FLoadedPackageRef Other)
delete

◆ FLoadedPackageRef() [3/3]

FLoadedPackageRef::FLoadedPackageRef ( FLoadedPackageRef &&  Other)
default

Member Function Documentation

◆ AreAllPublicExportsLoaded()

bool FLoadedPackageRef::AreAllPublicExportsLoaded ( ) const
inline

◆ ClearErrorFlags()

void FLoadedPackageRef::ClearErrorFlags ( )
inline

◆ GetOriginalPackageName()

FName FLoadedPackageRef::GetOriginalPackageName ( ) const
inline

◆ GetPackage()

UPackage * FLoadedPackageRef::GetPackage ( ) const
inline

◆ GetPackageHeaderExtension()

EPackageExtension FLoadedPackageRef::GetPackageHeaderExtension ( ) const
inline

◆ GetPackageLoader()

EPackageLoader FLoadedPackageRef::GetPackageLoader ( ) const
inline

◆ GetPublicExport()

UObject * FLoadedPackageRef::GetPublicExport ( uint64  ExportHash)
inline

◆ GetPublicExportObjectIndices()

FPublicExportMap::FValueIterator FLoadedPackageRef::GetPublicExportObjectIndices ( )
inline

◆ GetRefCount()

int32 FLoadedPackageRef::GetRefCount ( ) const
inline

◆ HasErrors()

bool FLoadedPackageRef::HasErrors ( ) const
inline

◆ HasPackage()

bool FLoadedPackageRef::HasPackage ( ) const
inline

◆ operator=() [1/2]

FLoadedPackageRef & FLoadedPackageRef::operator= ( const FLoadedPackageRef Other)
delete

◆ operator=() [2/2]

FLoadedPackageRef & FLoadedPackageRef::operator= ( FLoadedPackageRef &&  Other)
default

◆ PinPublicExportsForGC()

void FLoadedPackageRef::PinPublicExportsForGC ( TArray< int32 > &  OutUnreachableObjectIndices)
inline

◆ PreInsertPublicExports()

void FLoadedPackageRef::PreInsertPublicExports ( TConstArrayView< TConstArrayView< FExportMapEntry > >  Exports)
inline

Insert all the given exports into the map by their hash, storing a non-present/null value for any objects that are not already in the map

◆ RemovePublicExport()

void FLoadedPackageRef::RemovePublicExport ( uint64  ExportHash,
FName  ObjectName = NAME_None 
)
inline

◆ RemoveUnreferencedObsoletePackage()

void FLoadedPackageRef::RemoveUnreferencedObsoletePackage ( )
inline

◆ ReplaceReferencedRenamedPackage()

void FLoadedPackageRef::ReplaceReferencedRenamedPackage ( UPackage NewPackage)
inline

◆ SetAllPublicExportsLoaded()

void FLoadedPackageRef::SetAllPublicExportsLoaded ( bool  bSnapshotExportCount)
inline

◆ SetHasFailed()

void FLoadedPackageRef::SetHasFailed ( )
inline

◆ SetIsMissingPackage()

void FLoadedPackageRef::SetIsMissingPackage ( )
inline

◆ SetPackage()

void FLoadedPackageRef::SetPackage ( UPackage InPackage)
inline

◆ StorePublicExport()

void FLoadedPackageRef::StorePublicExport ( uint64  ExportHash,
UObject Object 
)
inline

◆ UnpinPublicExportsForGC()

void FLoadedPackageRef::UnpinPublicExportsForGC ( )
inline

Friends And Related Symbol Documentation

◆ FGlobalImportStore

friend class FGlobalImportStore
friend

◆ FPublicExportMapBasicTest

friend class FPublicExportMapBasicTest
friend

◆ FPublicExportMapIterationTest

friend class FPublicExportMapIterationTest
friend

◆ FPublicExportMapPreInsertPublicExportsTest

friend class FPublicExportMapPreInsertPublicExportsTest
friend

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