FLinkerLoad::GatherImportDependencies

Recursively gathers the dependencies of a given import (the recursive chain of imports and their imports, and so on)

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/LinkerLoad.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp

Syntax

void GatherImportDependencies
(
    int32 ImportIndex,
    TSet< FDependencyRef > & Dependencies,
    bool bSkipLoadedObjects
)

Remarks

Recursively gathers the dependencies of a given import (the recursive chain of imports and their imports, and so on)

Recursively gathers the dependencies of a given import (the recursive chain of imports and their imports, and so on). Will add itself to the list of dependencies

Parameters

Parameter

Description

ImportIndex

Index into the linker's ImportMap that we are checking dependencies

Dependencies

Set of all dependencies needed

bSkipLoadedObjects

Whether to skip already loaded objects when gathering dependencies

ImportIndex

Index into the linker's ImportMap that we are checking dependencies

Dependencies

Set of all dependencies needed

bSkipLoadedObjects

Whether to skip already loaded objects when gathering dependencies

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