Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
Inheritance Hierarchy
- FFieldPath
- TFieldPath
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/FieldPath.h |
Include | #include "UObject/FieldPath.h" |
Syntax
struct FFieldPath
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | FieldPathSerialNumber | In editor builds, fields may get deleted even though their owner struct remains |
![]() |
FFieldClass * | InitialFieldClass | In editor builds, store the original class of the resolved property in case it changes after recompiling BPs |
![]() |
TArray< FName > | Path | Path to the FField object from the innermost FField to the outermost UObject (UPackage) |
![]() |
FField * | ResolvedField | Untracked pointer to the resolved property |
![]() |
TWeakObjectPtr< UStruct > | ResolvedOwner | The cached owner of this field. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FFieldPath () |
||
![]() |
FFieldPath
(
FField* InField |
||
![]() |
FFieldPath
(
UField* InField, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Clears the cached value so that the next time Get() is called, it will be resolved again | |
![]() |
void | Generates path from the passed in field pointer | |
![]() |
void | Generate
(
const TCHAR* InFieldPathString |
Generates path from the passed in field pointer |
![]() |
void | GenerateFromUField
(
UField* InField |
|
![]() ![]() |
FField * | GetTyped
(
FFieldClass* ExpectedType, |
Gets the field represented by this FFieldPath |
![]() ![]() |
bool | Returns true if the field path is empty (does not test if the owner is valid) This is usually used to verify if the reason behind this field being unresolved is because the owner is missing or the property couldn't be found. | |
![]() ![]() |
bool | IsStale () |
Slightly different than !IsValid(), returns true if this used to point to a FField, but doesn't any more and has not been assigned or reset in the mean time. |
![]() ![]() |
bool | ||
![]() |
void | Reset () |
Reset the weak pointer back to the NULL state |
![]() ![]() |
void | ResolveField
(
FFieldClass* ExpectedClass, |
Tries to resolve the path and caches the result |
![]() ![]() |
FString | ToString () |
|
![]() ![]() |
FField * | TryToResolvePath
(
UStruct* InCurrentStruct, |
Tries to resolve the path without caching the resolved pointer |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FFieldPath& InOther |
|
![]() ![]() |
bool | operator==
(
const FFieldPath& InOther |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EPathResolveType | Determines the behavior when resolving stored path |