Ark Server API (ASE) - Wiki
|
#include <ContainerAllocationPolicies.h>
Public Member Functions | |
ForElementType () | |
FORCEINLINE void | MoveToEmpty (ForElementType &Other) |
FORCEINLINE ElementType * | GetAllocation () const |
void | ResizeAllocation (int32 PreviousNumElements, int32 NumElements, SIZE_T NumBytesPerElement) |
FORCEINLINE int32 | CalculateSlackReserve (int32 NumElements, SIZE_T 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 () |
Private Member Functions | |
ForElementType (const ForElementType &) | |
ForElementType & | operator= (const ForElementType &) |
ElementType * | GetInlineElements () const |
Private Attributes | |
TTypeCompatibleBytes< ElementType > | InlineData [NumInlineElements] |
SecondaryAllocator::template ForElementType< ElementType > | SecondaryData |
Definition at line 447 of file ContainerAllocationPolicies.h.
|
inline |
Default constructor.
Definition at line 452 of file ContainerAllocationPolicies.h.
|
private |
|
inline |
Definition at line 528 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 514 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 521 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 536 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 477 of file ContainerAllocationPolicies.h.
|
inlineprivate |
Definition at line 557 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 541 of file ContainerAllocationPolicies.h.
|
inline |
Moves the state of another allocator into this one. Assumes that the allocator is currently empty, i.e. memory may be allocated but any existing elements have already been destructed (if necessary).
Other | - The allocator to move the state from. This allocator should be left in a valid empty state. |
Definition at line 461 of file ContainerAllocationPolicies.h.
|
private |
|
inline |
Definition at line 482 of file ContainerAllocationPolicies.h.
|
private |
The data is stored in this array if less than NumInlineElements is needed.
Definition at line 551 of file ContainerAllocationPolicies.h.
|
private |
The data is allocated through the indirect allocation policy if more than NumInlineElements is needed.
Definition at line 554 of file ContainerAllocationPolicies.h.