UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SparseArray.h File Reference

Go to the source code of this file.

Classes

struct  FSparseArrayAllocationInfo
 
union  TSparseArrayElementOrFreeListLink< ElementType >
 
class  TSparseArrayBase< SizeOfElementType, AlignOfElementType, Allocator >
 
class  TSparseArray< InElementType, Allocator >
 
class  TSparseArray< InElementType, Allocator >::TIterator
 
class  TSparseArray< InElementType, Allocator >::TConstIterator
 
class  TSparseArray< InElementType, Allocator >::TRangedForIterator
 
class  TSparseArray< InElementType, Allocator >::TRangedForConstIterator
 
class  TSparseArray< InElementType, Allocator >::TConstSubsetIterator< SubsetAllocator >
 
struct  FScriptSparseArrayLayout
 
class  TScriptSparseArray< AllocatorType, InDerivedType >
 
struct  TIsZeroConstructType< TScriptSparseArray< AllocatorType, InDerivedType > >
 
class  FScriptSparseArray
 

Namespaces

namespace  Freeze
 

Macros

#define TSPARSEARRAY_RANGED_FOR_CHECKS   1
 

Functions

template<typename T , typename Allocator >
voidoperator new (size_t Size, TSparseArray< T, Allocator > &Array)
 
template<typename T , typename Allocator >
voidoperator new (size_t Size, TSparseArray< T, Allocator > &Array, int32 Index)
 
voidoperator new (size_t Size, const FSparseArrayAllocationInfo &Allocation)
 
 DECLARE_TEMPLATE_INTRINSIC_TYPE_LAYOUT (template< typename ElementType >, TSparseArrayElementOrFreeListLink< ElementType >)
 
template<typename ElementType , typename Allocator >
void Freeze::IntrinsicWriteMemoryImage (FMemoryImageWriter &Writer, const TSparseArray< ElementType, Allocator > &Object, const FTypeLayoutDesc &)
 
template<typename ElementType , typename Allocator >
uint32 Freeze::IntrinsicUnfrozenCopy (const FMemoryUnfreezeContent &Context, const TSparseArray< ElementType, Allocator > &Object, void *OutDst)
 
template<typename ElementType , typename Allocator >
uint32 Freeze::IntrinsicAppendHash (const TSparseArray< ElementType, Allocator > *DummyObject, const FTypeLayoutDesc &TypeDesc, const FPlatformTypeLayoutParameters &LayoutParams, FSHA1 &Hasher)
 
 DECLARE_TEMPLATE_INTRINSIC_TYPE_LAYOUT ((template< typename ElementType, typename Allocator >),(TSparseArray< ElementType, Allocator >))
 
void operator delete (void *, const FSparseArrayAllocationInfo &Allocation)
 
template<typename ElementType , typename Allocator >
FArchiveoperator<< (FArchive &Ar, TSparseArray< ElementType, Allocator > &Array)
 
template<typename ElementType , typename Allocator >
void operator<< (FStructuredArchive::FSlot Slot, TSparseArray< ElementType, Allocator > &InArray)
 

Macro Definition Documentation

◆ TSPARSEARRAY_RANGED_FOR_CHECKS

#define TSPARSEARRAY_RANGED_FOR_CHECKS   1

Function Documentation

◆ DECLARE_TEMPLATE_INTRINSIC_TYPE_LAYOUT() [1/2]

DECLARE_TEMPLATE_INTRINSIC_TYPE_LAYOUT ( (template< typename ElementType, typename Allocator >)  ,
(TSparseArray< ElementType, Allocator >)   
)

◆ DECLARE_TEMPLATE_INTRINSIC_TYPE_LAYOUT() [2/2]

DECLARE_TEMPLATE_INTRINSIC_TYPE_LAYOUT ( template< typename ElementType >  ,
TSparseArrayElementOrFreeListLink< ElementType >   
)

◆ operator delete()

void operator delete ( void ,
const FSparseArrayAllocationInfo Allocation 
)
inline

◆ operator new() [1/3]

void * operator new ( size_t  Size,
const FSparseArrayAllocationInfo Allocation 
)
inline

A placement new operator which constructs an element in a sparse array allocation.

◆ operator new() [2/3]

template<typename T , typename Allocator >
void * operator new ( size_t  Size,
TSparseArray< T, Allocator > &  Array 
)

◆ operator new() [3/3]

template<typename T , typename Allocator >
void * operator new ( size_t  Size,
TSparseArray< T, Allocator > &  Array,
int32  Index 
)

◆ operator<<() [1/2]

template<typename ElementType , typename Allocator >
FArchive & operator<< ( FArchive Ar,
TSparseArray< ElementType, Allocator > &  Array 
)

Serializer.

◆ operator<<() [2/2]

template<typename ElementType , typename Allocator >
void operator<< ( FStructuredArchive::FSlot  Slot,
TSparseArray< ElementType, Allocator > &  InArray 
)

Structured archive serializer.