Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/IndirectArray.h |
Include |
#include "Containers/IndirectArray.h" |
template<typename T, typename Allocator>
class TIndirectArray
Name | Description | |
---|---|---|
|
TIndirectArray() |
Default constructors. |
|
TIndirectArray ( |
|
|
TIndirectArray ( |
Copy constructor. |
Name | Description | |
---|---|---|
|
~TIndirectArray() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
Add ( |
Adds a new item to the end of the array, possibly reallocating the whole array to fit. |
|
|
TDereferenci... |
begin() |
|
|
TDereferenci... |
begin() |
DO NOT USE DIRECTLY STL-like iterators to enable range-based for loop support. |
|
CountBytes ( |
Count bytes needed to serialize this array. |
|
|
TConstIterat... |
CreateConstIterator() |
Creates a const iterator for the contents of this array. |
|
CreateIterator() |
Creates an iterator for the contents of this array. |
|
|
Empty ( |
Empties the array. It calls the destructors on held items. |
|
|
TDereferenci... |
end() |
|
|
TDereferenci... |
end() |
|
|
GetAllocatedSize() |
Helper function to return the amount of memory allocated by this container |
|
|
const T *... |
GetData() |
Helper function for returning a typed pointer to the first array entry. |
|
T ** |
GetData() |
Helper function for returning a typed pointer to the first array entry. |
|
GetTypeSize() |
Helper function returning the size of the inner type. |
|
|
Insert ( |
Inserts a given element into the array at given location. |
|
|
IsEmpty() |
Returns true if the array is empty and contains no elements. |
|
|
IsValidIndex ( |
Tests if index is valid, i.e. greater than zero and less than number of elements in array. |
|
|
ElementType ... |
Last ( |
Returns n-th last element from the array. |
|
const Elemen... |
Last ( |
Returns n-th last element from the array. Const version. |
|
Num() |
Gets number of elements in array. |
|
|
RemoveAt |
Removes an element (or elements) at given location optionally shrinking the array. |
|
|
RemoveAtSwap |
Removes an element (or elements) at given location optionally shrinking the array. |
|
|
Reserve ( |
Reserves memory such that the array can contain at least Number elements. |
|
|
Reset ( |
Resets the array to the new given size. It calls the destructors on held items. |
|
|
Serialize |
Special serialize function passing the owning UObject along as required by FUnytpedBulkData serialization. |
|
|
Shrink() |
Shrinks the array's used memory to smallest possible to store elements currently in it. |
|
|
Swap |
Element-wise array element swap. This version is doing more sanity checks than SwapMemory. |
Name | Description | ||
---|---|---|---|
|
T & |
operator[] ( |
Bracket array access operator. |
|
const T & |
operator[] ( |
Bracket array access operator. Const version. |
|
TIndirectArr... |
operator= ( |
Assignment operators. |
|
TIndirectArr... |
operator= ( |
Name |
Description |
---|---|
ElementType |
|
InternalArrayType |
|
TConstIterator |
|
TIterator |
Iterators. |