Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/Serialization/FindReferencersArchive.h |
Include |
#include "Serialization/FindReferencersArchive.h" |
class FTargetObjectContainer
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().
Name | Description | ||
---|---|---|---|
|
AddObject ( |
||
|
Freeze() |
||
|
UObject *... |
GetObject ( |
|
|
GetRefCount ( |
This should not be queried past RefCountNum(), otherwise you're doing useless work. |
|
|
int32 * |
GetRefCountPtr ( |
This will initialize and return the refcount associated with the object if it exists. |
|
RefCountNum() |
||
|
Reserve ( |
||
|
ResetRefCounts() |
||
|
const int32 ... |
TryGetRefCountPtr ( |
This won't initialize the refcount associated with the object even if it exists. |