#include <FieldPath.h>
◆ EPathResolveType
| Enumerator |
|---|
| UseStructIfOuterNotFound | |
| UseStructAlways | |
◆ FFieldPath() [1/2]
| FFieldPath::FFieldPath |
( |
| ) |
|
|
default |
◆ FFieldPath() [2/2]
| FFieldPath::FFieldPath |
( |
FField * |
InField | ) |
|
|
inline |
◆ ClearCachedField()
| void FFieldPath::ClearCachedField |
( |
| ) |
const |
|
inlineprotected |
Clears the cached value so that the next time Get() is called, it will be resolved again
◆ Generate() [1/2]
| void FFieldPath::Generate |
( |
const TCHAR * |
InFieldPathString | ) |
|
Generates path from the passed in field pointer
◆ Generate() [2/2]
Generates path from the passed in field pointer
◆ GetTyped()
Gets the field represented by this FFieldPath
- Parameters
-
| ExpectedType | Expected type of the resolved field |
| InCurrentStruct | Struct that's trying to resolve this field path |
- Returns
- Field represented by this FFieldPath or null if it couldn't be resolved
◆ IsPathToFieldEmpty()
| bool FFieldPath::IsPathToFieldEmpty |
( |
| ) |
const |
|
inline |
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.
◆ IsStale()
| bool FFieldPath::IsStale |
( |
| ) |
const |
|
inline |
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.
- Returns
- true if this used to point at a real object but no longer does.
◆ NeedsResolving()
| bool FFieldPath::NeedsResolving |
( |
| ) |
const |
|
inlineprotected |
◆ operator!=()
◆ operator==()
◆ Reset()
| void FFieldPath::Reset |
( |
| ) |
|
|
inline |
Reset the weak pointer back to the NULL state
◆ ResolveField()
Tries to resolve the path and caches the result
- Parameters
-
| ExpectedClass | Expected class of the resolved field |
| InCurrentStruct | Struct that's trying to resolve this field path
|
◆ ToString()
| FString FFieldPath::ToString |
( |
| ) |
const |
◆ TryToResolvePath()
Tries to resolve the path without caching the resolved pointer
- Parameters
-
| InCurrentStruct | Struct that's trying to resolve this field path |
| OutOwnerIndex | ObjectIndex of the Owner UObject |
- Returns
- Resolved field or null
◆ FFieldPathProperty
◆ FGCInternals
◆ GetTypeHash
◆ operator<<
◆ TWeakFieldPtr
◆ Path
◆ ResolvedField
| FField* FFieldPath::ResolvedField = nullptr |
|
mutableprotected |
Untracked pointer to the resolved property
◆ ResolvedOwner
The cached owner of this field. Even though implemented as a weak pointer, GC will keep a strong reference to it if exposed through UPROPERTY macro
The documentation for this struct was generated from the following files:
- Engine/Source/Runtime/CoreUObject/Public/UObject/FieldPath.h
- Engine/Source/Runtime/CoreUObject/Private/UObject/FieldPath.cpp