Navigation
API > API/Runtime > API/Runtime/CoreUObject
Template to allow FFieldClass types to be passed around with type safety
| Name | TSubclassOfField |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Templates/SubclassOfField.h |
| Include Path | #include "Templates/SubclassOfField.h" |
Syntax
template<typename T>
class TSubclassOfField
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Templates/SubclassOfField.h | |||
| Templates/SubclassOfField.h | |||
TSubclassOfField
(
const TSubclassOfField& |
Templates/SubclassOfField.h | ||
TSubclassOfField
(
FFieldClass* From |
Constructor that takes a FFieldClass*. | Templates/SubclassOfField.h | |
TSubclassOfField
(
U&& From |
Construct from a FFieldClass* (or something implicitly convertible to it) | Templates/SubclassOfField.h | |
TSubclassOfField
(
const TSubclassOfField< OtherT >& Other |
Construct from another TSubclassOfField, only if types are compatible | Templates/SubclassOfField.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TSubclassOfField() |
Templates/SubclassOfField.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Class | FFieldClass * | Templates/SubclassOfField.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFieldClass * Get() |
Dereference back into a FFieldClass*, does runtime type checking. | Templates/SubclassOfField.h | |
T * GetDefaultObject() |
Get the CDO if we are referencing a valid class | Templates/SubclassOfField.h | |
void Serialize
(
FArchive& Ar |
Templates/SubclassOfField.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator FFieldClass *() |
Implicit conversion to FFieldClass*, does runtime type checking. | Templates/SubclassOfField.h | |
FFieldClass * operator*() |
Dereference back into a FFieldClass*, does runtime type checking. | Templates/SubclassOfField.h | |
TSubclassOfField & operator=
(
U&& From |
Assign from a FFieldClass* (or something implicitly convertible to it). | Templates/SubclassOfField.h | |
TSubclassOfField & operator=
(
FFieldClass* From |
Assign from a FFieldClass*. | Templates/SubclassOfField.h | |
TSubclassOfField & operator=
(
const TSubclassOfField< OtherT >& Other |
Assign from another TSubclassOfField, only if types are compatible | Templates/SubclassOfField.h | |
TSubclassOfField & operator=
(
const TSubclassOfField& |
Templates/SubclassOfField.h | ||
| Templates/SubclassOfField.h | |||
FFieldClass * operator->() |
Dereference back into a FFieldClass*, does runtime type checking. | Templates/SubclassOfField.h |