![]() |
Ark Server API (ASE) - Wiki
|
#include <ContainerAllocationPolicies.h>
Public Member Functions | |
ForAnyElementType () | |
FORCEINLINE void | MoveToEmpty (ForAnyElementType &Other) |
FORCEINLINE | ~ForAnyElementType () |
FORCEINLINE FScriptContainerElement * | GetAllocation () 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 () |
Private Member Functions | |
ForAnyElementType (const ForAnyElementType &) | |
ForAnyElementType & | operator= (const ForAnyElementType &) |
Private Attributes | |
FScriptContainerElement * | Data |
Definition at line 212 of file ContainerAllocationPolicies.h.
|
inline |
Default constructor.
Definition at line 217 of file ContainerAllocationPolicies.h.
|
inline |
Destructor.
Definition at line 240 of file ContainerAllocationPolicies.h.
|
private |
|
inline |
Definition at line 274 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 266 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 270 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 279 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 249 of file ContainerAllocationPolicies.h.
|
inline |
Definition at line 284 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 226 of file ContainerAllocationPolicies.h.
|
private |
|
inline |
Definition at line 253 of file ContainerAllocationPolicies.h.
|
private |
A pointer to the container's elements.
Definition at line 294 of file ContainerAllocationPolicies.h.