Navigation
API > API/Plugins > API/Plugins/PCG
Typed erased struct to be able to convert an array type to another. when we do not know the underlying type at compile time. Need to know how to construct/destruct/copy the underlying type, and what is its element and alignment size.
| Name | FPCGAccessorBuffer |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadataContainerTypes.h |
| Include Path | #include "Metadata/PCGMetadataContainerTypes.h" |
Syntax
class FPCGAccessorBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGAccessorBuffer
(
FPCGAccessorBuffer&& Other |
Metadata/PCGMetadataContainerTypes.h | ||
FPCGAccessorBuffer
(
const FPCGAccessorBuffer& Other |
Metadata/PCGMetadataContainerTypes.h | ||
| Metadata/PCGMetadataContainerTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPCGAccessorBuffer() |
Metadata/PCGMetadataContainerTypes.h |
Structs
| Name | Remarks |
|---|---|
| FInternals |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FConstructFunc | void(*)(void *, int32) | Metadata/PCGMetadataContainerTypes.h | |
| FCopyFunc | void(*)(void *, const void *, int32) | Metadata/PCGMetadataContainerTypes.h | |
| FDestructFunc | void(*)(void *, int32) | Metadata/PCGMetadataContainerTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOwnMemory | bool | Metadata/PCGMetadataContainerTypes.h | ||
| Internals | FInternals | Metadata/PCGMetadataContainerTypes.h | ||
| OwnMemory | FScriptArray | Metadata/PCGMetadataContainerTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CopyFromPointers
(
TConstArrayView< const void* > InValuesPtr, |
Copy the values passed as pointer, interpreted as the underlying type. | Metadata/PCGMetadataContainerTypes.h | |
void * GetOwnedMemoryPtr() |
Metadata/PCGMetadataContainerTypes.h | ||
const FPCGMetadataAttributeDesc & GetUnderlyingDesc() |
Metadata/PCGMetadataContainerTypes.h | ||
bool IsOwningMemory() |
Metadata/PCGMetadataContainerTypes.h | ||
void MoveMemoryTo
(
FScriptArray& Other, |
Will move our own memory to the Other array helper of a given type. | Metadata/PCGMetadataContainerTypes.h | |
int32 Num() |
Metadata/PCGMetadataContainerTypes.h | ||
void Reset
(
int32 Slack |
Metadata/PCGMetadataContainerTypes.h | ||
void SetupAndAllocate
(
int32 Count, |
Metadata/PCGMetadataContainerTypes.h | ||
void SetupFromKnownType() |
Metadata/PCGMetadataContainerTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGAccessorBuffer & operator=
(
FPCGAccessorBuffer&& Other |
Metadata/PCGMetadataContainerTypes.h | ||
FPCGAccessorBuffer & operator=
(
const FPCGAccessorBuffer& Other |
Metadata/PCGMetadataContainerTypes.h |