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

#include <AnimCompressionTypes.h>

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

Public Member Functions

 ForElementType ()
 
ElementType * GetAllocation () const
 
- Public Member Functions inherited from TMaybeMappedAllocator< Alignment >::ForAnyElementType
 ForAnyElementType ()
 
void MoveToEmpty (ForAnyElementType &Other)
 
 ~ForAnyElementType ()
 
FScriptContainerElementGetAllocation () const
 
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
 
void AcceptFileMapping (IMappedFileHandle *InMappedHandle, IMappedFileRegion *InMappedRegion, void *MallocPtr)
 
bool IsMapped () const
 

Constructor & Destructor Documentation

◆ ForElementType()

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

Default constructor.

Member Function Documentation

◆ GetAllocation()

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

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