UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TAlignedHeapAllocator< Alignment >::ForElementType< ElementType > Class Template Reference

#include <ContainerAllocationPolicies.h>

+ Inheritance diagram for TAlignedHeapAllocator< Alignment >::ForElementType< ElementType >:

Public Member Functions

 ForElementType ()
 
UE_FORCEINLINE_HINT ElementType * GetAllocation () const
 
- Public Member Functions inherited from TAlignedHeapAllocator< Alignment >::ForAnyElementType
 ForAnyElementType ()
 
UE_FORCEINLINE_HINT void MoveToEmpty (ForAnyElementType &Other)
 
UE_FORCEINLINE_HINT ~ForAnyElementType ()
 
UE_FORCEINLINE_HINT FScriptContainerElementGetAllocation () const
 
void ResizeAllocation (SizeType CurrentNum, SizeType NewMax, SIZE_T NumBytesPerElement)
 
UE_FORCEINLINE_HINT SizeType CalculateSlackReserve (SizeType NewMax, SIZE_T NumBytesPerElement) const
 
UE_FORCEINLINE_HINT SizeType CalculateSlackShrink (SizeType NewMax, SizeType CurrentMax, SIZE_T NumBytesPerElement) const
 
UE_FORCEINLINE_HINT SizeType CalculateSlackGrow (SizeType NewMax, SizeType CurrentMax, SIZE_T NumBytesPerElement) const
 
SIZE_T GetAllocatedSize (SizeType CurrentMax, SIZE_T NumBytesPerElement) const
 
bool HasAllocation () const
 
SizeType GetInitialCapacity () const
 

Constructor & Destructor Documentation

◆ ForElementType()

template<uint32 Alignment = DEFAULT_ALIGNMENT>
template<typename ElementType >
TAlignedHeapAllocator< Alignment >::ForElementType< ElementType >::ForElementType ( )
inline

Default constructor.

Member Function Documentation

◆ GetAllocation()

template<uint32 Alignment = DEFAULT_ALIGNMENT>
template<typename ElementType >
UE_FORCEINLINE_HINT ElementType * TAlignedHeapAllocator< Alignment >::ForElementType< ElementType >::GetAllocation ( ) const
inline

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