Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ObjectCacheContext.h |
| Include | #include "ObjectCacheContext.h" |
Syntax
template<class T>
class TObjectCacheIterator
Remarks
Class to abstract implementation details of the containers used inside the object cache so they can be changed later if needed without API changes.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArrayView< T * > | ArrayView | The array view is used to do the iteration, the arrayview might point to another object if the array is not owned | |
| TArray< T * > | OwnedArray | Sometimes, a copy might be necessary to maintain thread-safety |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TObjectCacheIterator
(
TArray< T* >&& InObjectArray |
Constructor | ||
TObjectCacheIterator
(
TArrayView< T* > InArrayView |
Constructor |