Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TInlineSparseArrayAllocator< NumInlineElements, SecondaryAllocator > Class Template Reference

#include <ContainerAllocationPolicies.h>

Public Types

typedef TInlineAllocator< NumInlineElements, typename SecondaryAllocator::ElementAllocator > ElementAllocator
 
typedef TInlineAllocator< InlineBitArrayDWORDs, typename SecondaryAllocator::BitArrayAllocator > BitArrayAllocator
 

Private Types

enum  { InlineBitArrayDWORDs = (NumInlineElements + NumBitsPerDWORD - 1) / NumBitsPerDWORD }
 

Detailed Description

template<uint32 NumInlineElements, typename SecondaryAllocator = TSparseArrayAllocator<FDefaultAllocator,FDefaultAllocator>>
class TInlineSparseArrayAllocator< NumInlineElements, SecondaryAllocator >

An inline sparse array allocator that allows sizing of the inline allocations for a set number of elements.

Definition at line 698 of file ContainerAllocationPolicies.h.

Member Typedef Documentation

◆ BitArrayAllocator

template<uint32 NumInlineElements, typename SecondaryAllocator = TSparseArrayAllocator<FDefaultAllocator,FDefaultAllocator>>
typedef TInlineAllocator<InlineBitArrayDWORDs,typename SecondaryAllocator::BitArrayAllocator> TInlineSparseArrayAllocator< NumInlineElements, SecondaryAllocator >::BitArrayAllocator

Definition at line 708 of file ContainerAllocationPolicies.h.

◆ ElementAllocator

template<uint32 NumInlineElements, typename SecondaryAllocator = TSparseArrayAllocator<FDefaultAllocator,FDefaultAllocator>>
typedef TInlineAllocator<NumInlineElements,typename SecondaryAllocator::ElementAllocator> TInlineSparseArrayAllocator< NumInlineElements, SecondaryAllocator >::ElementAllocator

Definition at line 707 of file ContainerAllocationPolicies.h.

Member Enumeration Documentation

◆ anonymous enum

template<uint32 NumInlineElements, typename SecondaryAllocator = TSparseArrayAllocator<FDefaultAllocator,FDefaultAllocator>>
anonymous enum
private

The size to allocate inline for the bit array.

Enumerator
InlineBitArrayDWORDs 

Definition at line 703 of file ContainerAllocationPolicies.h.


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