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
enum EReferenceChainSearchMode
{
Default = 0,
ExternalOnly = 1 << 0,
Shortest = 1 << 1,
Longest = 1 << 2,
Direct = 1 << 3,
FullChain = 1 << 4,
ShortestToGarbage = 1 << 5,
Minimal = 1 << 6,
GCOnly = 1 << 7,
PrintResults = 1 << 16,
PrintAllResults = 1 << 17,
}
Values
| Name | Description |
|---|---|
| Default | Returns all reference chains found. |
| ExternalOnly | Returns only reference chains from external objects. |
| Shortest | Returns only the shortest reference chain for each rooted object. |
| Longest | Returns only the longest reference chain for each rooted object. |
| Direct | Returns only the direct referencers. |
| FullChain | Returns complete chains. (Ignoring non GC objects) |
| ShortestToGarbage | Returns the shortest path to a garbage object from which the target object is reachable. |
| Minimal | Attempts to find a plausible path to the target object with minimal memory usage E.g. |
| GCOnly | Skips the disregard-for-GC set that will never be GCd and whose outgoing references are not checked during GC. |
| PrintResults | Print results. |
| PrintAllResults | Print ALL results (in some cases there may be thousands of reference chains) |
Remarks
Search mode flags