Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TAlignedHeapAllocator< Alignment >::ForElementType< ElementType > Class Template Reference

#include <ContainerAllocationPolicies.h>

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

Public Member Functions

 ForElementType ()
 
FORCEINLINE ElementType * GetAllocation () const
 
- Public Member Functions inherited from TAlignedHeapAllocator< Alignment >::ForAnyElementType
 ForAnyElementType ()
 
FORCEINLINE void MoveToEmpty (ForAnyElementType &Other)
 
FORCEINLINE ~ForAnyElementType ()
 
FORCEINLINE FScriptContainerElementGetAllocation () const
 
void ResizeAllocation (int32 PreviousNumElements, int32 NumElements, SIZE_T NumBytesPerElement)
 
FORCEINLINE int32 CalculateSlackReserve (int32 NumElements, int32 NumBytesPerElement) const
 
FORCEINLINE int32 CalculateSlackShrink (int32 NumElements, int32 NumAllocatedElements, int32 NumBytesPerElement) const
 
FORCEINLINE int32 CalculateSlackGrow (int32 NumElements, int32 NumAllocatedElements, int32 NumBytesPerElement) const
 
SIZE_T GetAllocatedSize (int32 NumAllocatedElements, SIZE_T NumBytesPerElement) const
 
bool HasAllocation ()
 

Detailed Description

template<uint32 Alignment = DEFAULT_ALIGNMENT>
template<typename ElementType>
class TAlignedHeapAllocator< Alignment >::ForElementType< ElementType >

Definition at line 298 of file ContainerAllocationPolicies.h.

Constructor & Destructor Documentation

◆ ForElementType()

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

Default constructor.

Definition at line 303 of file ContainerAllocationPolicies.h.

Member Function Documentation

◆ GetAllocation()

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

Definition at line 306 of file ContainerAllocationPolicies.h.


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