Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
Inheritance Hierarchy
- FField
- FProperty
- FBoolProperty
- FEnumProperty
- FMulticastDelegateProperty
- FNetPropertyHook
- FNumericProperty
- FObjectPropertyBase
- FOptionalProperty
- FStructProperty
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Field.h |
Include | #include "UObject/Field.h" |
Syntax
class FField
Remarks
Base class of reflection data objects.
Variables
Type | Name | Description | |
---|---|---|---|
EObjectFlags | FlagsPrivate | Object flags | |
FName | NamePrivate | Name of this field | |
FField * | Next | Next Field in the linked list | |
FFieldVariant | Owner | Owner of this field |
Constructors
Type | Name | Description | |
---|---|---|---|
FField
(
EInternal InInernal, |
Constructors. | ||
FField
(
FFieldVariant InOwner, |
Destructors
Type | Name | Description | |
---|---|---|---|
~FField () |
Functions
Type | Name | Description | |
---|---|---|---|
void | AddCppProperty
(
FProperty* Property |
||
void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
void | AppendMetaData
(
const TMap< FName, FString >& MetaDataMapToAppend |
Append the given metadata to this field | |
void | AppendName
(
FString& ResultString |
||
void | BeginDestroy () |
||
void | Bind () |
||
void | ClearFlags
(
EObjectFlags NewFlags |
||
FField * | Construct
(
const FName& FieldTypeName, |
Constructs a new field given the name of its class | |
FField * | Construct
(
const FFieldVariant& InOwner, |
Constructs a new field given its class | |
void | CopyMetaData
(
const FField* InSourceField, |
Copies all metadata from Source Field to Dest Field | |
FField * | CreateFromUField
(
UField* InField |
Creates a new FField from existing UField | |
FField * | Duplicate
(
const FField* InField, |
Duplicates an FField | |
const FString * | FindMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key | |
const FString * | FindMetaData
(
const FName& Key |
Find the metadata value associated with the key | |
FName | GenerateFFieldName
(
FFieldVariant InOwner, |
Generates a name for a Field of a given type. Each generated name is unique in the current runtime | |
FString | Returns a human readable string that was assigned to this field at creation. | ||
bool | GetBoolMetaData
(
const FName& Key |
||
bool | GetBoolMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return bool | |
uint64 | GetCastFlags () |
||
FFieldClass * | GetClass () |
||
UClass * | GetClassMetaData
(
const FName& Key |
Find the metadata value associated with the key and return Class | |
UClass * | GetClassMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return Class | |
FOnConvertCustomUFieldToFField & | Gets a delegate to convert custom UField types to FFields | ||
FText | Finds the localized display name or native display name as a fallback. | ||
double | GetDoubleMetaData
(
const FName& Key |
||
double | GetDoubleMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return double | |
EObjectFlags | GetFlags () |
Retrieve the object flags directly | |
float | GetFloatMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return float | |
float | GetFloatMetaData
(
const FName& Key |
||
FName | GetFName () |
||
FString | GetFullGroupName
(
bool bStartWithOuter |
Walks up the chain of packages until it reaches the top level, which it ignores. | |
FString | GetFullName () |
||
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) | |
int32 | GetIntMetaData
(
const FName& Key |
||
int32 | GetIntMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return int32 | |
FLinkerLoad * | GetLinker () |
||
const FString & | GetMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key | |
const FString & | GetMetaData
(
const FName& Key |
Find the metadata value associated with the key | |
const TMap< FName, FString > * | Gets all metadata associated with this field | ||
const FText | GetMetaDataText
(
const FName& MetaDataKey, |
A dynamically sizeable string. | |
const FText | GetMetaDataText
(
const TCHAR* MetaDataKey, |
Find the metadata value associated with the key and localization namespace and key | |
void | |||
FString | GetName () |
||
UPackage * | GetOutermost () |
Goes up the outer chain to look for the outermost package | |
T * | GetOwner () |
||
T * | |||
UClass * | Goes up the outer chain to look for a UClass | ||
UStruct * | Goes up the outer chain to look for a UStruct | ||
UField * | Goes up the outer chain to look for a UField | ||
UObject * | Goes up the outer chain to look for a UObject. | ||
FFieldVariant | Gets the owner container for this field | ||
FString | GetPathName
(
const UObject* StopOuter |
||
void | GetPathName
(
const UObject* StopOuter, |
||
void | GetPreloadDependencies
(
TArray< UObject* >& OutDeps |
||
FText | GetToolTipText
(
bool bShortTooltip |
Finds the localized tooltip or native tooltip as a fallback. | |
T * | |||
FField * | GetTypedOwner
(
FFieldClass* Target |
Goes up the outer chain to look for the outer of the specified type | |
UObject * | GetTypedOwner
(
UClass* Target |
Goes up the outer chain to look for the outer of the specified type | |
bool | HasAllFlags
(
EObjectFlags FlagsToCheck |
Used to safely check whether all of the passed in flags are set. | |
bool | HasAnyFlags
(
EObjectFlags FlagsToCheck |
Used to safely check whether any of the passed in flags are set. | |
bool | HasMetaData
(
const TCHAR* Key |
Determines if the property has any metadata associated with the key | |
bool | HasMetaData
(
const FName& Key |
||
UObject * | Internal function for quickly getting the owner of this object as UObject. | ||
bool | IsA () |
||
bool | IsA
(
const FFieldClass* FieldType |
||
bool | |||
bool | |||
bool | IsNative () |
||
bool | IsRooted () |
||
bool | |||
void | PostDuplicate
(
const FField& InField |
Fixups after duplicating a Field | |
void | PostLoad () |
||
void | RemoveMetaData
(
const TCHAR* Key |
Clear any metadata associated with the key | |
void | RemoveMetaData
(
const FName& Key |
Clear any metadata associated with the key | |
void | |||
void | Begin UObject interface: the following functions mimic UObject interface for easier transition from UProperties to FProperties. | ||
void | SetFlags
(
EObjectFlags NewFlags |
||
void | SetFlagsTo
(
EObjectFlags NewFlags |
Set the object flags directly | |
void | SetMetaData
(
const TCHAR* Key, |
||
void | SetMetaData
(
const TCHAR* Key, |
Sets the metadata value associated with the key | |
void | SetMetaData
(
const FName& Key, |
Sets the metadata value associated with the key | |
void | SetMetaData
(
const FName& Key, |
Sets the metadata value associated with the key | |
FFieldClass * | StaticClass () |
||
constexpr uint64 | |||
constexpr uint64 |
Typedefs
Name | Description |
---|---|
BaseFieldClass | |
FieldTypeClass | |
FOnConvertCustomUFieldToFField | |
Super | |
ThisClass |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
bool | HasAllCastFlags
(
const uint64 InCastFlags |
HasAllCastFlags is deprecated. Not all FField has CastFlag. Use IsA instead. | |
bool | HasAnyCastFlags
(
const uint64 InCastFlags |
HasAnyCastFlags is deprecated. Not all FField has CastFlag. Use IsA instead. |