UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::Private::TChaosChunkedArray< InElementType, TargetBytesPerChunk, AllocatorType, typename > Class Template Reference

#include <ChunkedArray.h>

+ Inheritance diagram for Chaos::Private::TChaosChunkedArray< InElementType, TargetBytesPerChunk, AllocatorType, typename >:

Public Member Functions

void Reset ()
 
- Public Member Functions inherited from TChunkedArray< InElementType, TargetBytesPerChunk, AllocatorType >
 TChunkedArray (int32 InNumElements=0)
 
 TChunkedArray (TChunkedArray &&Other)
 
TChunkedArrayoperator= (TChunkedArray &&Other)
 
 ~TChunkedArray ()
 
 TChunkedArray (const TChunkedArray &)=default
 
TChunkedArrayoperator= (const TChunkedArray &)=default
 
 TChunkedArray (FIntrusiveUnsetOptionalState)
 
bool operator== (FIntrusiveUnsetOptionalState) const
 
ElementType & operator() (int32 ElementIndex)
 
const ElementType & operator() (int32 ElementIndex) const
 
ElementType & operator[] (int32 ElementIndex)
 
const ElementType & operator[] (int32 ElementIndex) const
 
bool IsEmpty () const
 
int32 Num () const
 
SIZE_T GetAllocatedSize (void) const
 
UE_FORCEINLINE_HINT bool IsValidIndex (int32 Index) const
 
int32 AddElement (const ElementType &Item)
 
template<typename... ArgsType>
int32 Emplace (ArgsType &&... Args)
 
TChunkedArrayoperator+= (const TArray< ElementType > &Other)
 
TChunkedArrayoperator+= (const TChunkedArray &Other)
 
int32 Add (int32 Count=1)
 
template<typename OtherAllocator >
void CopyToLinearArray (TArray< ElementType, OtherAllocator > &DestinationArray)
 
template<typename OtherAllocator >
void MoveToLinearArray (TArray< ElementType, OtherAllocator > &DestinationArray)
 
void Empty (int32 Slack=0)
 
void Reserve (int32 Number)
 
void Shrink ()
 
FIterType begin ()
 
FConstIterType begin () const
 
FIterType end ()
 
FConstIterType end () const
 

Additional Inherited Members

- Public Types inherited from TChunkedArray< InElementType, TargetBytesPerChunk, AllocatorType >
using IntrusiveUnsetOptionalStateType = TChunkedArray
 
- Static Public Attributes inherited from TChunkedArray< InElementType, TargetBytesPerChunk, AllocatorType >
static constexpr bool bHasIntrusiveUnsetOptionalState = true
 
- Protected Types inherited from TChunkedArray< InElementType, TargetBytesPerChunk, AllocatorType >
enum  { NumElementsPerChunk = TargetBytesPerChunk / sizeof(ElementType) }
 
typedef TIndirectArray< FChunk, AllocatorType > ChunksType
 
- Protected Attributes inherited from TChunkedArray< InElementType, TargetBytesPerChunk, AllocatorType >
ChunksType Chunks
 
int32 NumElements
 

Member Function Documentation

◆ Reset()

template<typename InElementType , uint32 TargetBytesPerChunk = 16384, typename AllocatorType = FDefaultAllocator, typename = TEnableIf<std::is_trivially_destructible_v<InElementType>>>
void Chaos::Private::TChaosChunkedArray< InElementType, TargetBytesPerChunk, AllocatorType, typename >::Reset ( )
inline

The documentation for this class was generated from the following file: