UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FScopedCreateImportCounter Struct Reference

#include <LinkerLoad.h>

Public Member Functions

 FScopedCreateImportCounter (FLinkerLoad *Linker, int32 Index)
 
 ~FScopedCreateImportCounter ()
 

Public Attributes

FUObjectSerializeContextLoadContext
 
FLinkerLoadPreviousLinker
 
int32 PreviousIndex
 

Detailed Description

Helper struct to keep track of the first time CreateImport() is called in the current callstack.

Constructor & Destructor Documentation

◆ FScopedCreateImportCounter()

FScopedCreateImportCounter::FScopedCreateImportCounter ( FLinkerLoad Linker,
int32  Index 
)

Constructor. Called upon CreateImport() entry.

Parameters
Linker- Current Linker
Index- Index of the current Import

◆ ~FScopedCreateImportCounter()

FScopedCreateImportCounter::~FScopedCreateImportCounter ( )

Destructor. Called upon CreateImport() exit.

Member Data Documentation

◆ LoadContext

FUObjectSerializeContext* FScopedCreateImportCounter::LoadContext

Current load context object

◆ PreviousIndex

int32 FScopedCreateImportCounter::PreviousIndex

Previously stored index

◆ PreviousLinker

FLinkerLoad* FScopedCreateImportCounter::PreviousLinker

Previously stored linker


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