![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PoolBackedArray.h>
Public Types | |
| using | FItem = T |
| using | FItemPtr = FItem * |
| using | FConstItemPtr = const FItem * |
| using | FItemAdapter = TItemAdapter |
| using | FRangedForIterator = typename TArray< FItemPtr >::RangedForIteratorType |
| using | FRangedForConstIterator = typename TArray< FItemPtr >::RangedForConstIteratorType |
Public Member Functions | |
| TPoolBackedArray (const int32 NumItemsPerBlock) | |
| template<typename... TArgs> | |
| FItemPtr | Alloc (TArgs &&... Args) |
| void | Free (FItemPtr Item) |
| void | Reset () |
| int32 | Num () const |
| bool | IsEmpty () const |
| void | Reserve (const int32 Size) |
| FItemPtr | operator[] (const int32 Index) |
| const FItemPtr | operator[] (const int32 Index) const |
| FRangedForIterator | begin () |
| FRangedForIterator | end () |
| FRangedForConstIterator | begin () const |
| FRangedForConstIterator | end () const |
| void | SortFreeLists () |
An array of (pointers to) Items with items allocated from an ObjectPool. Item pointers are persistent until freed.
| TItemAdapter | Provides the Get/Set methods for array index of each item |
| using Chaos::Private::TPoolBackedArray< T, TItemAdapter >::FConstItemPtr = const FItem* |
| using Chaos::Private::TPoolBackedArray< T, TItemAdapter >::FItem = T |
| using Chaos::Private::TPoolBackedArray< T, TItemAdapter >::FItemAdapter = TItemAdapter |
| using Chaos::Private::TPoolBackedArray< T, TItemAdapter >::FItemPtr = FItem* |
| using Chaos::Private::TPoolBackedArray< T, TItemAdapter >::FRangedForConstIterator = typename TArray<FItemPtr>::RangedForConstIteratorType |
| using Chaos::Private::TPoolBackedArray< T, TItemAdapter >::FRangedForIterator = typename TArray<FItemPtr>::RangedForIteratorType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |