Navigation
API > API/Plugins > API/Plugins/PCG
Unique Key around a single object. Necessary if ObjectType is void, but keep a template version for completeness. Useful when you want to use the accessors Get/Set methods on a single object. Make sure ObjectType is not a pointer nor a reference, since we convert those to void*, it could lead to very bad situations if we try to convert a T** to a void*.
| Name | FPCGAttributeAccessorKeysSingleObjectPtr |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/Accessors/PCGAttributeAccessorKeys.h |
| Include Path | #include "Metadata/Accessors/PCGAttributeAccessorKeys.h" |
Syntax
template<typename ObjectType, typename>
class FPCGAttributeAccessorKeysSingleObjectPtr : public IPCGAttributeAccessorKeys
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Metadata/Accessors/PCGAttributeAccessorKeys.h | |||
FPCGAttributeAccessorKeysSingleObjectPtr
(
ObjectType* InPtr |
Metadata/Accessors/PCGAttributeAccessorKeys.h | ||
FPCGAttributeAccessorKeysSingleObjectPtr
(
const ObjectType* InPtr |
Metadata/Accessors/PCGAttributeAccessorKeys.h |
Functions
Public
Overridden from IPCGAttributeAccessorKeys
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetNum() |
Returns the number of keys. | Metadata/Accessors/PCGAttributeAccessorKeys.h | |
virtual bool IsClassSupported
(
const UStruct* InClass |
Returns true if GetGenericObjectKeys would return this class/struct | Metadata/Accessors/PCGAttributeAccessorKeys.h |
Protected
Overridden from IPCGAttributeAccessorKeys
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetGenericObjectKeys
(
int32 InStart, |
Metadata/Accessors/PCGAttributeAccessorKeys.h | ||
virtual bool GetGenericObjectKeys
(
int32 InStart, |
Metadata/Accessors/PCGAttributeAccessorKeys.h |