Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/ReferenceChainSearch.h |
Include | #include "UObject/ReferenceChainSearch.h" |
Syntax
class FReferenceChainSearch
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FReferenceChainSearch
(
EReferenceChainSearchMode Mode |
Constructs a new search engine but does not find references to any objects until one of the PerformSearch*() functions is called | |
![]() |
FReferenceChainSearch
(
UObject* InObjectToFindReferencesTo, |
Constructs a new search engine and finds references to the specified object | |
![]() |
FReferenceChainSearch
(
TConstArrayView< UObject* > InObjectsToFindReferencesTo, |
Constructs a new search engine and finds references to the specified object |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructor |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
COREUOBJECT_APIFString | FindAndPrintStaleReferencesToObject
(
UObject* ObjectToFindReferencesTo, |
Attempts to find a reference chain leading to a world that should have been garbage collected |
![]() ![]() |
TArray< FString > | FindAndPrintStaleReferencesToObjects
(
TConstArrayView< UObject* > ObjectsToFindReferencesTo, |
Attempts to find a reference chain leading to a world that should have been garbage collected |
![]() ![]() |
int64 | ||
![]() ![]() |
const TArray< FReferenceChain * > & | Returns all reference chains | |
![]() ![]() |
FString | GetRootPath
(
UObject* TargetObject |
Returns a string with a short report explaining the root path, will contain newlines |
![]() ![]() |
FString | GetRootPath
(
TFunctionRef< bool(FCallbackParams&Params)> ReferenceCallback, |
Returns a string with a short report explaining the root path, will contain newlines |
![]() |
void | PerformSearchFromGCSnapshot
(
UObject* InObjectToFindReferencesTo, |
Searches for references in a previous GC run snapshot temporarily acquiring its object info |
![]() |
void | PerformSearchFromGCSnapshot
(
TConstArrayView< UObject* > InObjectsToFindReferencesTo, |
Searches for references in a previous GC run snapshot temporarily acquiring its object info |
![]() ![]() |
int32 | PrintResults
(
bool bDumpAllChains, |
Dumps results to log |
![]() ![]() |
int32 | PrintResults
(
TFunctionRef< bool(FCallbackParams&Params)> ReferenceCallback, |
Dumps results to log |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FCallbackParams | Parameters passed to callback function when printing results | |
![]() |
FGraphNode | Single node in the reference graph | |
![]() |
FReferenceChain | Reference chain. | |
![]() |
TReferenceInfo | Extended information about a reference |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EReferenceType | Type of reference |
Typedefs
Name | Description |
---|---|
FNodeReferenceInfo | |
FObjectReferenceInfo | Convenience type definitions to avoid template hell |