Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Serialization > API/Runtime/CoreUObject/Serialization/FFindReferencersArchive
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/FindReferencersArchive.h |
| Include | #include "Serialization/FindReferencersArchive.h" |
Syntax
class FTargetObjectContainer
Remarks
Container specifically optimized for the operations we're doing here.
- Reduce allocations while adding.
- Reduce cache misses while searching.
- Fast to reset its values as they're all contiguous in memory.
- Reduce iteration count to initialized values only when searching for values > 0 by stopping at ValueNum().
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Freeze () |
||
| UObject * | GetObject
(
int32 Index |
||
| int32 | GetRefCount
(
int32 Index |
This should not be queried past RefCountNum(), otherwise you're doing useless work. | |
| int32 * | GetRefCountPtr
(
UObject* Object |
This will initialize and return the refcount associated with the object if it exists. | |
| int32 | RefCountNum () |
||
| void | Reserve
(
int32 Num |
||
| void | |||
| const int32 * | TryGetRefCountPtr
(
UObject* Object |
This won't initialize the refcount associated with the object even if it exists. |