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

#include <AnsiAllocator.h>

+ Inheritance diagram for FAnsiAllocator::ForElementType< ElementType >:

Public Member Functions

 ForElementType ()
 
FORCEINLINE ElementType * GetAllocation () const
 
- Public Member Functions inherited from FAnsiAllocator::ForAnyElementType
 ForAnyElementType ()
 
FORCEINLINE void MoveToEmpty (ForAnyElementType &Other)
 
FORCEINLINE ~ForAnyElementType ()
 
FORCEINLINE FScriptContainerElementGetAllocation () const
 
CORE_API void ResizeAllocation (SizeType CurrentNum, SizeType NewMax, SIZE_T NumBytesPerElement)
 
SizeType CalculateSlackReserve (SizeType NewMax, SIZE_T NumBytesPerElement) const
 
SizeType CalculateSlackShrink (SizeType NewMax, SizeType CurrentMax, SIZE_T NumBytesPerElement) const
 
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<typename ElementType >
FAnsiAllocator::ForElementType< ElementType >::ForElementType ( )
inline

Default constructor.

Member Function Documentation

◆ GetAllocation()

template<typename ElementType >
FORCEINLINE ElementType * FAnsiAllocator::ForElementType< ElementType >::GetAllocation ( ) const
inline

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