FLinkerLoad::GatherImportDependencies

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

Choose your operating system:

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