FScopedCreateImportCounter

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

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/LinkerLoad.h

Include

#include "UObject/LinkerLoad.h"

Syntax

struct FScopedCreateImportCounter

Remarks

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

Variables

Name Description

Public variable

FUObjectSeriali...

 

LoadContext

Current load context object

Public variable

int32

 

PreviousIndex

Previously stored index

Public variable

FLinkerLoad ...

 

PreviousLinker

Previously stored linker

Constructors

Name Description

Public function

FScopedCreateImportCounter

(
    FLinkerLoad* Linker,
    int32 Index
)

  1. Called upon CreateImport() entry.

Destructors

Name Description

Public function

~FScopedCreateImportCounter()

  1. Called upon CreateImport() exit.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss