UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TChunkedSparseArray< ElementType, BytesPerChunk > Class Template Reference

#include <LumenSparseSpanArray.h>

Classes

class  TRangedForConstIterator
 
class  TRangedForIterator
 

Public Member Functions

 TChunkedSparseArray ()=default
 
 TChunkedSparseArray (const TChunkedSparseArray &Other)
 
 TChunkedSparseArray (TChunkedSparseArray &&Other)
 
TChunkedSparseArrayoperator= (const TChunkedSparseArray &Other)
 
TChunkedSparseArrayoperator= (TChunkedSparseArray &&Other)
 
 ~TChunkedSparseArray ()
 
void Empty ()
 
int32 GetMaxSize () const
 
void Reserve (int32 NumElements)
 
int32 AddDefaulted ()
 
void RemoveAt (int32 ElementIndex)
 
void Shrink ()
 
ElementType & operator[] (int32 ElementIndex)
 
const ElementType & operator[] (int32 ElementIndex) const
 
bool IsAllocated (int32 ElementIndex) const
 
SIZE_T GetAllocatedSize () const
 
TRangedForIterator begin ()
 
TRangedForIterator end ()
 
TRangedForConstIterator begin () const
 
TRangedForConstIterator end () const
 

Constructor & Destructor Documentation

◆ TChunkedSparseArray() [1/3]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TChunkedSparseArray< ElementType, BytesPerChunk >::TChunkedSparseArray ( )
default

◆ TChunkedSparseArray() [2/3]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TChunkedSparseArray< ElementType, BytesPerChunk >::TChunkedSparseArray ( const TChunkedSparseArray< ElementType, BytesPerChunk > &  Other)
inline

◆ TChunkedSparseArray() [3/3]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TChunkedSparseArray< ElementType, BytesPerChunk >::TChunkedSparseArray ( TChunkedSparseArray< ElementType, BytesPerChunk > &&  Other)
inline

◆ ~TChunkedSparseArray()

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TChunkedSparseArray< ElementType, BytesPerChunk >::~TChunkedSparseArray ( )
inline

Member Function Documentation

◆ AddDefaulted()

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
int32 TChunkedSparseArray< ElementType, BytesPerChunk >::AddDefaulted ( )
inline

◆ begin() [1/2]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TRangedForIterator TChunkedSparseArray< ElementType, BytesPerChunk >::begin ( )
inline

◆ begin() [2/2]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TRangedForConstIterator TChunkedSparseArray< ElementType, BytesPerChunk >::begin ( ) const
inline

◆ Empty()

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
void TChunkedSparseArray< ElementType, BytesPerChunk >::Empty ( )
inline

◆ end() [1/2]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TRangedForIterator TChunkedSparseArray< ElementType, BytesPerChunk >::end ( )
inline

◆ end() [2/2]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TRangedForConstIterator TChunkedSparseArray< ElementType, BytesPerChunk >::end ( ) const
inline

◆ GetAllocatedSize()

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
SIZE_T TChunkedSparseArray< ElementType, BytesPerChunk >::GetAllocatedSize ( ) const
inline

◆ GetMaxSize()

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
int32 TChunkedSparseArray< ElementType, BytesPerChunk >::GetMaxSize ( ) const
inline

◆ IsAllocated()

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
bool TChunkedSparseArray< ElementType, BytesPerChunk >::IsAllocated ( int32  ElementIndex) const
inline

◆ operator=() [1/2]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TChunkedSparseArray & TChunkedSparseArray< ElementType, BytesPerChunk >::operator= ( const TChunkedSparseArray< ElementType, BytesPerChunk > &  Other)
inline

◆ operator=() [2/2]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
TChunkedSparseArray & TChunkedSparseArray< ElementType, BytesPerChunk >::operator= ( TChunkedSparseArray< ElementType, BytesPerChunk > &&  Other)
inline

◆ operator[]() [1/2]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
ElementType & TChunkedSparseArray< ElementType, BytesPerChunk >::operator[] ( int32  ElementIndex)
inline

◆ operator[]() [2/2]

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
const ElementType & TChunkedSparseArray< ElementType, BytesPerChunk >::operator[] ( int32  ElementIndex) const
inline

◆ RemoveAt()

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
void TChunkedSparseArray< ElementType, BytesPerChunk >::RemoveAt ( int32  ElementIndex)
inline

◆ Reserve()

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
void TChunkedSparseArray< ElementType, BytesPerChunk >::Reserve ( int32  NumElements)
inline

◆ Shrink()

template<typename ElementType , uint32 BytesPerChunk = 2 * 1024 * 1024>
void TChunkedSparseArray< ElementType, BytesPerChunk >::Shrink ( )
inline

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