Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- FProperty
- FOptionalPropertyLayout
- FOptionalProperty
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/PropertyOptional.h |
| Include | #include "UObject/PropertyOptional.h" |
Syntax
class FOptionalProperty :
public FProperty,
public FOptionalPropertyLayout
Remarks
A property corresponding to UE's optional type, TOptional
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOptionalProperty
(
EInternal InInernal, |
|||
FOptionalProperty
(
FFieldVariant InOwner, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FField * | Construct
(
const FFieldVariant& InOwner, |
||
| void | SetValueProperty
(
FProperty* InValueProperty |
Sets the optional property's value property. | |
| FFieldClass * | StaticClass () |
||
| constexpr uint64 | |||
| constexpr uint64 |
Overridden from FProperty
| Type | Name | Description | |
|---|---|---|---|
| void | ClearValueInternal
(
void* Data |
||
| bool | ContainsObjectReference
(
TArray< const FStructProperty* >& EncounteredStructProps, |
Returns true if this property, or in the case of e.g. array or struct properties any sub- property, contains a UObject reference. | |
| EConvertFromTypeResult | ConvertFromType
(
const FPropertyTag& Tag, |
Allows a property to implement backwards compatibility handling for tagged properties | |
| void | CopyValuesInternal
(
void* Dest, |
||
| void | DestroyValueInternal
(
void* Data |
||
| void | EmitReferenceInfo
(
UE::GC::FSchemaBuilder& Schema, |
Emits tokens used by realtime garbage collection code to passed in ReferenceTokenStream. | |
| void | ExportText_Internal
(
FString& ValueStr, |
||
| FString | GetCPPMacroType
(
FString& ExtendedTypeText |
||
| FString | GetCPPType
(
FString* ExtendedTypeText, |
Returns the text to use for exporting this property to header file. | |
| FString | |||
| int32 | |||
| uint32 | GetValueTypeHashInternal
(
const void* Src |
||
| bool | Identical
(
const void* A, |
Determines whether the property values are identical. | |
| const TCHAR * | ImportText_Internal
(
const TCHAR* Buffer, |
||
| void | InitializeValueInternal
(
void* Data |
||
| void | InstanceSubobjects
(
void* Data, |
Creates new copies of components | |
| void | LinkInternal
(
FArchive& Ar |
||
| bool | NetSerializeItem
(
FArchive& Ar, |
||
| void | SerializeItem
(
FStructuredArchive::FSlot Slot, |
Overridden from FField
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| FField * | GetInnerFieldByName
(
const FName& InName |
Returns an inner field by name if the field has any | |
| void | GetInnerFields
(
TArray< FField* >& OutFields |
Fills the provided array with all inner fields this field owns (recursively) | |
| void | GetPreloadDependencies
(
TArray< UObject* >& OutDeps |
||
| void | PostDuplicate
(
const FField& InField |
Fixups after duplicating a Field | |
| void | Begin UObject interface: the following functions mimic UObject interface for easier transition from UProperties to FProperties. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator delete
(
void* InMem |
||
| void * | operator new
(
const size_t InSize |
||
| void * | operator new
(
const size_t InSize, |