Navigation
API > API/Runtime > API/Runtime/CoreUObject
Base class of reflection data objects.
| Name | UField |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include Path | #include "UObject/Class.h" |
Syntax
class UField : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UField
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UField
(
const FObjectInitializer& ObjectInitializer |
UObject/Class.h | ||
UField
(
FVTableHelper& Helper |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. | UObject/Class.h | |
UField
(
EStaticConstructor, |
Constructors. | UObject/Class.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BaseFieldClass | UField | UObject/Class.h | |
| FieldTypeClass | UClass | UObject/Class.h | |
| FLinkedListBuilder | TLinkedListBuilder< UField > | UObject/Class.h | |
| Super | UObject | Typedef for the base class (UObject) | UObject/Class.h |
| ThisClass | UField | Typedef for UField. | UObject/Class.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticClassFlags | EClassFlags | Bitwise union of EClassFlags pertaining to this class. | UObject/Class.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Next | UField * | Next Field in the linked list | UObject/Class.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddCppProperty
(
FProperty* Property |
UObject/Class.h | ||
virtual void Bind() |
UObject/Class.h | ||
const FString * FindMetaData
(
const FName& Key |
UObject/Class.h | ||
const FString * FindMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key | UObject/Class.h | |
virtual FField * GetAssociatedFField() |
Gets the FField object associated with this Field | UObject/Class.h | |
FString GetAuthoredName () |
Returns a human readable string that was assigned to this field at creation. | UObject/Class.h | |
bool GetBoolMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return bool | UObject/Class.h | |
bool GetBoolMetaData
(
const FName& Key |
UObject/Class.h | ||
UClass * GetClassMetaData
(
const FName& Key |
UObject/Class.h | ||
UClass * GetClassMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return Class | UObject/Class.h | |
FText GetDisplayNameText() |
Finds the localized display name or native display name as a fallback. | UObject/Class.h | |
float GetFloatMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return float | UObject/Class.h | |
float GetFloatMetaData
(
const FName& Key |
UObject/Class.h | ||
int32 GetIntMetaData
(
const FName& Key |
UObject/Class.h | ||
int32 GetIntMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key and return int32 | UObject/Class.h | |
const FString & GetMetaData
(
const FName& Key |
UObject/Class.h | ||
const FString & GetMetaData
(
const TCHAR* Key |
Find the metadata value associated with the key | UObject/Class.h | |
FText GetMetaDataText
(
const FName& MetaDataKey, |
UObject/Class.h | ||
FText GetMetaDataText
(
const TCHAR* MetaDataKey, |
Find the metadata value associated with the key and localization namespace and key | UObject/Class.h | |
UClass * GetOwnerClass() |
Goes up the outer chain to look for a UClass | UObject/Class.h | |
UStruct * GetOwnerStruct() |
Goes up the outer chain to look for a UStruct | UObject/Class.h | |
FText GetToolTipText
(
bool bShortTooltip |
Finds the localized tooltip or native tooltip as a fallback. | UObject/Class.h | |
bool HasAllCastFlags
(
const uint64 InCastFlags |
UObject/Class.h | ||
bool HasAnyCastFlags
(
const uint64 InCastFlags |
UObject/Class.h | ||
bool HasMetaData
(
const FName& Key |
UObject/Class.h | ||
bool HasMetaData
(
const TCHAR* Key |
Determines if the property has any metadata associated with the key | UObject/Class.h | |
void RemoveMetaData
(
const FName& Key |
UObject/Class.h | ||
void RemoveMetaData
(
const TCHAR* Key |
Clear any metadata associated with the key | UObject/Class.h | |
virtual void SetAssociatedFField
(
FField* InField |
Sets the FField object associated with this Field | UObject/Class.h | |
void SetMetaData
(
const TCHAR* Key, |
Sets the metadata value associated with the key | UObject/Class.h | |
void SetMetaData
(
const FName& Key, |
UObject/Class.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool NeedsLoadForClient () |
Called during saving to determine the load flags to save with the object. | UObject/Class.h | |
virtual bool NeedsLoadForServer () |
Called during saving to determine the load flags to save with the object. | UObject/Class.h | |
virtual void PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | UObject/Class.h | |
| Handles reading, writing, and reference collecting using FArchive. | UObject/Class.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void __DefaultConstructor
(
const FObjectInitializer& X |
UObject/Class.h | ||
static UObject * __VTableCtorCaller
(
FVTableHelper& Helper |
UObject/Class.h | ||
static void FormatNativeToolTip
(
FString& ToolTipString, |
Formats a source comment into the form we want to show in the editor, is used by GetToolTipText and anything else that will get a native tooltip | UObject/Class.h | |
static UClass * GetPrivateStaticClass() |
UObject/Class.h | ||
static void IntrinsicClassInit
(
UClass* Class |
UObject/Class.h | ||
static UClass * StaticClass() |
Returns a UClass object representing this class at runtime | UObject/Class.h | |
static EClassCastFlags StaticClassCastFlags() |
Returns the static cast flags for this class | UObject/Class.h | |
static const TCHAR * StaticPackage() |
Returns the package this class belongs in | UObject/Class.h | |
static void StaticRegisterNativesUField() |
UObject/Class.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void operator delete
(
void* InMem |
Eliminate V1062 warning from PVS-Studio while keeping MSVC and Clang happy. | UObject/Class.h | |
void * operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. | UObject/Class.h | |
void * operator new
(
const size_t InSize, |
For internal use only; use StaticConstructObject() to create new objects. | UObject/Class.h | |
| UObject/Class.h | |||
| UObject/Class.h |