Navigation
API > API/Runtime > API/Runtime/PropertyPath
References
| Module | PropertyPath |
| Header | /Engine/Source/Runtime/PropertyPath/Public/PropertyPathHelpers.h |
| Include | #include "PropertyPathHelpers.h" |
Syntax
USTRUCT ()
struct FCachedPropertyPath
Remarks
Base class for cached property paths
Constructors
| Type | Name | Description | |
|---|---|---|---|
| UStruct boilerplate constructor - do not use | |||
FCachedPropertyPath
(
const FString& Path |
|||
FCachedPropertyPath
(
const FPropertyPathSegment& Segment |
|||
FCachedPropertyPath
(
const TArray< FString >& PathSegments |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Compares this property path to a string | ||
| void * | Get the cached address for this property path, if any | ||
| void * | Get the cached container for this property path, for checking purposes | ||
| UFunction * | Get the cached function for this property path, if any | ||
| void * | Get cached last container property in path | ||
| int32 | Get cached index of last container property in path, INDEX_NONE if last container is not in path | ||
| FProperty * | GetFProperty () |
Returns FProperty if valid. | |
| const FPropertyPathSegment & | Get the path segment at the end of the path | ||
| int32 | |||
| const FPropertyPathSegment & | GetSegment
(
int32 InSegmentIndex |
Get the path segment at the specified index | |
| bool | Check whether a path is fully resolved. | ||
| bool | IsResolved () |
Check whether a path is resolved. | |
| bool | IsValid () |
Check whether this property path is non-empty | |
| void | MakeFromString
(
const FString& InPropertyPath |
Make a new property path from a string | |
| FCachedPropertyPath | MakeUnresolvedCopy
(
const FCachedPropertyPath& ToCopy |
Make a copy which is unresolved | |
| void | RemoveFromEnd
(
int32 InNumSegments |
Trims this property path at the end | |
| void | RemoveFromStart
(
int32 InNumSegments |
Trims this property path at the start | |
| bool | Resolve this property path against the specified object. | ||
| void | ResolveLeaf
(
void* InAddress |
Cache a resolved address for faster subsequent access | |
| void | ResolveLeaf
(
UFunction* InFunction |
Cache a resolved function for faster subsequent access | |
| void | SetCachedContainer
(
void* InContainer |
Set the cached container for this property path, for checking purposes | |
| void | SetCachedLastContainer
(
void* InContainer, |
Update cached last container property in path & correspondng index, invalidates 'bCanSafelyUsedCachedAddress' | |
| void | SetCanSafelyUsedCachedAddress
(
bool bInCanSafelyUsedCachedAddress |
Set whether this path resolves over object or dynamic array boundaries, making it unsafe for general direct cached access | |
| void | ToEditPropertyChain
(
FEditPropertyChain& OutPropertyChain |
Convert this property path to a FEditPropertyChain. | |
| FPropertyChangedEvent | ToPropertyChangedEvent
(
EPropertyChangeType::Type InChangeType |
Convert this property path to a FPropertyChangedEvent. | |
| FString | ToString () |
Make a string representation of this property path |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FString& Other |
Compares this property path to a string |