![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MovieSceneEvaluationTree.h>
Public Member Functions | |
| FEvaluationTreeEntryHandle | AllocateEntry (int32 InitialCapacity=2) |
| TArrayView< ElementType > | Get (FEvaluationTreeEntryHandle ID) |
| TArrayView< const ElementType > | Get (FEvaluationTreeEntryHandle ID) const |
| void | Add (FEvaluationTreeEntryHandle ID, ElementType &&Element) |
| void | Insert (FEvaluationTreeEntryHandle ID, int32 Index, ElementType &&Element) |
| void | Compact () |
| void | Reset () |
Friends | |
| FArchive & | operator<< (FArchive &Ar, TEvaluationTreeEntryContainer &In) |
| bool | operator== (const TEvaluationTreeEntryContainer< ElementType > &A, const TEvaluationTreeEntryContainer< ElementType > &B) |
Sub-divided container type that allocates smaller 'buckets' of capacity within a single allocation. New entries, or entries needing additional capacity are reallocated at the end of the array to avoid reallocation or shuffling. Memory footprint can be compacted once the container is fully built using TEvaluationTreeEntryContainer::Compact Designed specifically to solve allocation cost incurred when compiling very large trees of sequence data. Restrictions: Container can only ever add entries, never remove
| void TEvaluationTreeEntryContainer< ElementType >::Add | ( | FEvaluationTreeEntryHandle | ID, |
| ElementType && | Element | ||
| ) |
Add a new element to the entry contents with the specified identifier
| ID | The entry identifier, obtained through AllocateEntry |
| Element | The element to add |
| FEvaluationTreeEntryHandle TEvaluationTreeEntryContainer< ElementType >::AllocateEntry | ( | int32 | InitialCapacity = 2 | ) |
Allocate a new entry of the specified capacity. Will default-construct Capacity elements in the item array.
| InitialCapacity | The initial capacity of the entry |
| void TEvaluationTreeEntryContainer< ElementType >::Compact | ( | ) |
Compress the item array to remove any unused capacity.
| TArrayView< ElementType > TEvaluationTreeEntryContainer< ElementType >::Get | ( | FEvaluationTreeEntryHandle | ID | ) |
Access the entry contents corresponding to the specified ID
| TArrayView< const ElementType > TEvaluationTreeEntryContainer< ElementType >::Get | ( | FEvaluationTreeEntryHandle | ID | ) | const |
Const access to the entry contents corresponding to the specified ID
| void TEvaluationTreeEntryContainer< ElementType >::Insert | ( | FEvaluationTreeEntryHandle | ID, |
| int32 | Index, | ||
| ElementType && | Element | ||
| ) |
Insert a new element to the entry with the specified identifier at a specific index within the entry
| ID | The entry identifier, obtained through AllocateEntry |
| Index | The index within the entry at which to insert the new element |
| Element | The element to add |
|
inline |
Reset this container to its default state
|
friend |
Serialize this container
|
friend |
Equality operator