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