![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Field.h>
Inheritance diagram for FField:Public Types | |
| typedef FField | Super |
| typedef FField | ThisClass |
| typedef FField | BaseFieldClass |
| typedef FFieldClass | FieldTypeClass |
| using | FLinkedListBuilder = TLinkedListBuilder< FField > |
Static Public Member Functions | |
| static COREUOBJECT_API FFieldClass * | StaticClass () |
| static constexpr EClassCastFlags | StaticClassCastFlagsPrivate () |
| static constexpr EClassCastFlags | StaticClassCastFlags () |
| static COREUOBJECT_API FField * | Construct (const FFieldVariant &InOwner, const FName &InName, EObjectFlags InFlags) |
| static COREUOBJECT_API FField * | Construct (const FName &FieldTypeName, const FFieldVariant &InOwner, const FName &InName, EObjectFlags InFlags) |
| static COREUOBJECT_API FField * | TryConstruct (const FName &FieldTypeName, const FFieldVariant &InOwner, const FName &InName, EObjectFlags InFlags) |
| static COREUOBJECT_API FField * | Duplicate (const FField *InField, FFieldVariant DestOwner, const FName DestName=NAME_None, EObjectFlags FlagMask=RF_AllFlags, EInternalObjectFlags InternalFlagsMask=EInternalObjectFlags_AllFlags) |
| static COREUOBJECT_API FName | GenerateFFieldName (FFieldVariant InOwner, FFieldClass *InClass) |
Public Attributes | |
| FFieldVariant | Owner |
| FField * | Next |
| FName | NamePrivate |
| EObjectFlags | FlagsPrivate |
Protected Member Functions | |
| void | SetFlagsTo (EObjectFlags NewFlags) |
Base class of reflection data objects. NOTE: Take care with inline initializers in members of FField as it executes two-stage construction via operator new and the EInternal constructor.
| FField::FField | ( | EInternal | InInernal, |
| FFieldClass * | InClass | ||
| ) |
| FField::FField | ( | FFieldVariant | InOwner, |
| const FName & | InName, | ||
| EObjectFlags | InObjectFlags | ||
| ) |
|
virtual |
Reimplemented in FEnumProperty, FOptionalProperty, FArrayProperty, FMapProperty, and FSetProperty.
|
virtual |
|
inline |
|
virtual |
Reimplemented in FObjectPropertyBase, FInterfaceProperty, FDelegateProperty, and FMulticastDelegateProperty.
|
virtual |
|
inline |
|
static |
Constructs a new field given its class
|
static |
Constructs a new field given the name of its class
|
static |
Duplicates an FField
|
static |
Generates a name for a Field of a given type. Each generated name is unique in the current runtime
| InOwner | Unused yet |
| FString FField::GetAuthoredName | ( | ) | const |
Returns a human readable string that was assigned to this field at creation. By default this is the same as GetName() but it can be overridden if that is an internal-only name. This name is consistent in editor/cooked builds, is not localized, and is useful for data import/export.
|
inline |
|
inline |
|
inline |
Retrieve the object flags directly
|
inline |
| FString FField::GetFullName | ( | ) | const |
Returns an inner field by name if the field has any
Reimplemented in FEnumProperty, FOptionalProperty, FArrayProperty, FMapProperty, and FSetProperty.
Fills the provided array with all inner fields this field owns (recursively)
Reimplemented in FEnumProperty, FOptionalProperty, FArrayProperty, FMapProperty, and FSetProperty.
| FLinkerLoad * FField::GetLinker | ( | ) | const |
|
inline |
|
inline |
| UPackage * FField::GetOutermost | ( | ) | const |
Goes up the outer chain to look for the outermost package
|
inline |
|
inline |
|
inline |
Goes up the outer chain to look for a UObject. This function is used in GC so for performance reasons it has to be inlined
|
inline |
Gets the owner container for this field
| void FField::GetPathName | ( | const UObject * | StopOuter, |
| FStringBuilderBase & | ResultString | ||
| ) | const |
| FString FField::GetPathName | ( | const UObject * | StopOuter = nullptr | ) | const |
Reimplemented in FEnumProperty, FOptionalProperty, FArrayProperty, FMapProperty, FSetProperty, and FStructProperty.
|
inline |
| FField * FField::GetTypedOwner | ( | FFieldClass * | Target | ) | const |
Goes up the outer chain to look for the outer of the specified type
Goes up the outer chain to look for the outer of the specified type
|
inline |
Used to safely check whether all of the passed in flags are set.
| FlagsToCheck | Object flags to check for |
|
inline |
Used to safely check whether any of the passed in flags are set.
| FlagsToCheck | Object flags to check for. |
|
inline |
|
inline |
| bool FField::IsNative | ( | ) | const |
| bool FField::IsRooted | ( | ) | const |
| bool FField::IsValidLowLevel | ( | ) | const |
Fixups after duplicating a Field
Reimplemented in FEnumProperty, FOptionalProperty, FProperty, FBoolProperty, FObjectPropertyBase, FInterfaceProperty, FArrayProperty, FMapProperty, FSetProperty, FStructProperty, FDelegateProperty, and FMulticastDelegateProperty.
|
virtual |
|
inline |
|
inlineprotected |
Set the object flags directly
|
static |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
static |
Tries to construct a new field given the name of its class. Returns null if the type does not exist.
| FFieldClass* FField::ClassPrivate |
Pointer to the class object representing the type of this FField
| EObjectFlags FField::FlagsPrivate |
Object flags
| FName FField::NamePrivate |
Name of this field
| FField* FField::Next |
Next Field in the linked list within the same owning struct - note that the list does not continue to parent structs
| FFieldVariant FField::Owner |
Owner of this field