Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include | #include "UObject/UnrealType.h" |
Syntax
class FStructProperty : public FProperty
Remarks
Describes a structure variable embedded in (as opposed to referenced by) an object.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< class UScriptStruct > | Struct | Variables. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStructProperty
(
UField* InField |
|||
FStructProperty
(
EInternal InInernal, |
|||
FStructProperty
(
FFieldVariant InOwner, |
Constructor used for constructing compiled in properties | ||
FStructProperty
(
FFieldVariant InOwner, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FField * | Construct
(
const FFieldVariant& InOwner, |
||
| bool | FindInnerPropertyInstance
(
FName PropertyName, |
||
| FFieldClass * | StaticClass () |
||
| uint64 | |||
| uint64 |
Overridden from FProperty
| Type | Name | Description | |
|---|---|---|---|
| void | AppendSchemaHash
(
FBlake3& Builder, |
Updates the given HashBuilder with name and type information of this Property. | |
| bool | Returns true if the type of this property matches the type name. | ||
| void | ClearIntrusiveOptionalValue
(
void* Data |
Set the value to it's special unset state. | |
| void | ClearValueInternal
(
void* Data |
||
| bool | ContainsClearOnFinishDestroyInternal
(
TArray< const FStructProperty* >& EncounteredStructProps |
||
| 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* Dest |
||
| void | EmitIntrusiveOptionalReferenceInfo
(
UE::GC::FSchemaBuilder& Schema, |
For properties returning true from HasIntrusiveUnsetOptionalState which also contain object references, emit information for the garbage collector to safely gather the references from the value whether the optional value is set or unset. | |
| void | EmitReferenceInfo
(
UE::GC::FSchemaBuilder& Schema, |
Emits tokens used by realtime garbage collection code to passed in ReferenceTokenStream. | |
| void | ExportText_Internal
(
FString& ValueStr, |
||
| void | FinishDestroyInternal
(
void* Data |
||
| FString | GetCPPMacroType
(
FString& ExtendedTypeText |
||
| FString | GetCPPType
(
FString* ExtendedTypeText, |
Returns the text to use for exporting this property to header file. | |
| FString | |||
| int32 | |||
| bool | Returns whether this type has a special state for an unset TOptional meaning the size TOptional |
||
| bool | Determines whether the property values are identical. | ||
| const TCHAR * | ImportText_Internal
(
const TCHAR* Buffer, |
||
| void | InitializeIntrusiveUnsetOptionalValue
(
void* Data |
Initialize the value at the given address to an unset TOptional using an intrusive state rather than a trailing boolean. | |
| void | InitializeValueInternal
(
void* Dest |
||
| void | InstanceSubobjects
(
void* Data, |
Creates new copies of components | |
| bool | IsIntrusiveOptionalValueSet
(
const void* Data |
Returns whether an optional value of this inner type is unset. | |
| void | LinkInternal
(
FArchive& Ar |
||
| bool | LoadTypeName
(
UE::FPropertyTypeName Type, |
Restores this property and its owned properties from the type name. | |
| bool | NetSerializeItem
(
FArchive& Ar, |
||
| void * | ResolveVisitedPathInfo
(
void* Data, |
Attempt to resolve the given inner path info against this outer property to get the inner property value. | |
| bool | Returns true, if Other is property of exactly the same type | ||
| void | SaveTypeName
(
UE::FPropertyTypeNameBuilder& Type |
Saves the type name of this property and its owned properties. | |
| void | SerializeItem
(
FStructuredArchive::FSlot Slot, |
||
| bool | |||
| bool | UseBinaryOrNativeSerialization
(
const FArchive& Ar |
||
| EPropertyVisitorControlFlow | Visit
(
FPropertyVisitorPath& Path, |
Visits this property and allows recursion into the inner properties This method allows callers to visit inner properties without knowing about its container type as opposed to TPropertyIterator. |
Overridden from FField
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| SIZE_T | GetFieldSize () |
||
| 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, |