Navigation
API > API/Plugins > API/Plugins/PlainProps
Single-threaded scratch allocator for intermediate built representation.
| Name | FScratchAllocator |
| Type | class |
| Header File | /Engine/Plugins/Experimental/PlainProps/Source/Public/PlainPropsBuild.h |
| Include Path | #include "PlainPropsBuild.h" |
Syntax
class FScratchAllocator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScratchAllocator() |
PlainPropsBuild.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScratchAllocator() |
PlainPropsBuild.h |
Structs
| Name | Remarks |
|---|---|
| FPage |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DataSize | uint32 | PlainPropsBuild.h | |
| PageSize | uint32 | PlainPropsBuild.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Cursor | uint8 * | PlainPropsBuild.h | ||
| LastPage | FPage * | PlainPropsBuild.h | ||
| PageEnd | uint8 * | PlainPropsBuild.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void * Allocate
(
SIZE_T Size, |
PlainPropsBuild.h | ||
T * AllocateArray
(
uint64 Num |
PlainPropsBuild.h | ||
void * AllocateZeroed
(
SIZE_T Size, |
PlainPropsBuild.h | ||
void Reset() |
PlainPropsBuild.h | ||
UE_NONCOPYABLE
(
FScratchAllocator |
PlainPropsBuild.h |