UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPow2ChunkedArray< T, MinSize, MaxSize > Class Template Reference

#include <Pow2ChunkedArray.h>

Public Types

enum  : uint32 { SkipCount = FGenericPlatformMath::CeilLogTwo(MinSize) }
 
enum  : uint32 { BucketCount = FGenericPlatformMath::CeilLogTwo(MaxSize) - SkipCount + 1 }
 

Public Member Functions

 FPow2ChunkedArray ()
 
 ~FPow2ChunkedArray ()
 
T & Add (const T &Value, uint32 &OutIndex)
 
T & Add (const T &Value)
 
T & Add (T &&Value)
 
const T & operator[] (uint32 Index) const
 
T & operator[] (uint32 Index)
 
uint32 Num () const
 
const T & GetElementAt (uint32 Index) const
 
voidAddUninitialized (uint32 &OutIndex)
 
uint32 GetBucketIndex (uint32 Index) const
 
uint32 GetBucketStart (uint32 BucketIndex) const
 
uint32 GetBucketSize (uint32 BucketIndex) const
 

Member Enumeration Documentation

◆ anonymous enum

template<typename T , uint32 MinSize = 16, uint32 MaxSize = 16777216>
anonymous enum : uint32
Enumerator
SkipCount 

◆ anonymous enum

template<typename T , uint32 MinSize = 16, uint32 MaxSize = 16777216>
anonymous enum : uint32
Enumerator
BucketCount 

Constructor & Destructor Documentation

◆ FPow2ChunkedArray()

template<typename T , uint32 MinSize, uint32 MaxSize>
FPow2ChunkedArray< T, MinSize, MaxSize >::FPow2ChunkedArray ( )
inline

◆ ~FPow2ChunkedArray()

template<typename T , uint32 MinSize, uint32 MaxSize>
FPow2ChunkedArray< T, MinSize, MaxSize >::~FPow2ChunkedArray ( )
inline

Member Function Documentation

◆ Add() [1/3]

template<typename T , uint32 MinSize, uint32 MaxSize>
T & FPow2ChunkedArray< T, MinSize, MaxSize >::Add ( const T &  Value)
inline

◆ Add() [2/3]

template<typename T , uint32 MinSize, uint32 MaxSize>
T & FPow2ChunkedArray< T, MinSize, MaxSize >::Add ( const T &  Value,
uint32 OutIndex 
)
inline

◆ Add() [3/3]

template<typename T , uint32 MinSize, uint32 MaxSize>
T & FPow2ChunkedArray< T, MinSize, MaxSize >::Add ( T &&  Value)
inline

◆ AddUninitialized()

template<typename T , uint32 MinSize, uint32 MaxSize>
void * FPow2ChunkedArray< T, MinSize, MaxSize >::AddUninitialized ( uint32 OutIndex)
inline

◆ GetBucketIndex()

template<typename T , uint32 MinSize, uint32 MaxSize>
uint32 FPow2ChunkedArray< T, MinSize, MaxSize >::GetBucketIndex ( uint32  Index) const
inline

◆ GetBucketSize()

template<typename T , uint32 MinSize, uint32 MaxSize>
uint32 FPow2ChunkedArray< T, MinSize, MaxSize >::GetBucketSize ( uint32  BucketIndex) const
inline

◆ GetBucketStart()

template<typename T , uint32 MinSize, uint32 MaxSize>
uint32 FPow2ChunkedArray< T, MinSize, MaxSize >::GetBucketStart ( uint32  BucketIndex) const
inline

◆ GetElementAt()

template<typename T , uint32 MinSize, uint32 MaxSize>
const T & FPow2ChunkedArray< T, MinSize, MaxSize >::GetElementAt ( uint32  Index) const
inline

◆ Num()

template<typename T , uint32 MinSize, uint32 MaxSize>
uint32 FPow2ChunkedArray< T, MinSize, MaxSize >::Num ( ) const
inline

◆ operator[]() [1/2]

template<typename T , uint32 MinSize, uint32 MaxSize>
T & FPow2ChunkedArray< T, MinSize, MaxSize >::operator[] ( uint32  Index)
inline

◆ operator[]() [2/2]

template<typename T , uint32 MinSize, uint32 MaxSize>
const T & FPow2ChunkedArray< T, MinSize, MaxSize >::operator[] ( uint32  Index) const
inline

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