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] |
Definition at line 585 of file ContainerAllocationPolicies.h.
|
inline |
Default constructor.
Definition at line 590 of file ContainerAllocationPolicies.h.
|
private |
|
inline |
Definition at line 631 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 619 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 625 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 638 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 608 of file ContainerAllocationPolicies.h.
|
inlineprivate |
Definition at line 657 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 643 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 599 of file ContainerAllocationPolicies.h.
|
private |
|
inline |
Definition at line 613 of file ContainerAllocationPolicies.h.
|
private |
The data is stored in this array if less than NumInlineElements is needed.
Definition at line 654 of file ContainerAllocationPolicies.h.