Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/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 | |
|---|---|---|---|
| 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, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | 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, |
||
| int64 | |||
| FString | GetObjectFlags
(
const FGCObjectInfo& InObject |
Returns a string with all flags (we care about) set on an object | |
| 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, |
||
| int32 | PrintResults
(
bool bDumpAllChains, |
Dumps results to log | |
| int32 | PrintResults
(
TFunctionRef< bool(FCallbackParams&Params)> ReferenceCallback, |
Dumps results to log | |
| void | SetVerbosityForPrint
(
ELogVerbosity::Type Verbosity |
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 |