![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PropertyPathHelpers.h>
Inheritance diagram for FCachedPropertyPath:Static Public Member Functions | |
| static PROPERTYPATH_API FCachedPropertyPath | MakeUnresolvedCopy (const FCachedPropertyPath &ToCopy) |
Base class for cached property paths
| FCachedPropertyPath::FCachedPropertyPath | ( | ) |
UStruct boilerplate constructor - do not use
| FCachedPropertyPath::FCachedPropertyPath | ( | const FString & | Path | ) |
| FCachedPropertyPath::FCachedPropertyPath | ( | const FPropertyPathSegment & | Segment | ) |
| FCachedPropertyPath::FCachedPropertyPath | ( | const TArray< FString > & | PathSegments | ) |
| FCachedPropertyPath::FCachedPropertyPath | ( | const FPropertyChangedChainEvent & | PropertyChangedChainEvent | ) |
Allows constructing a cached property path from the standard events of a PostEditChange Notify or Callback
| FCachedPropertyPath::FCachedPropertyPath | ( | const FPropertyChangedEvent & | PropertyChangedEvent, |
| const FEditPropertyChain & | PropertyChain | ||
| ) |
|
default |
| bool FCachedPropertyPath::Equals | ( | const FString & | Other | ) | const |
Compares this property path to a string
| void * FCachedPropertyPath::GetCachedAddress | ( | ) | const |
Get the cached address for this property path, if any
| void * FCachedPropertyPath::GetCachedContainer | ( | ) | const |
Get the cached container for this property path, for checking purposes
| UFunction * FCachedPropertyPath::GetCachedFunction | ( | ) | const |
Get the cached function for this property path, if any
| void * FCachedPropertyPath::GetCachedLastContainerInPath | ( | ) | const |
Get cached last container property in path
| int32 FCachedPropertyPath::GetCachedLastContainerInPathIndex | ( | ) | const |
Get cached index of last container property in path, INDEX_NONE if last container is not in path
| FProperty * FCachedPropertyPath::GetFProperty | ( | ) | const |
| const FPropertyPathSegment & FCachedPropertyPath::GetLastSegment | ( | ) | const |
Get the path segment at the end of the path
| int32 FCachedPropertyPath::GetNumSegments | ( | ) | const |
| const FPropertyPathSegment & FCachedPropertyPath::GetSegment | ( | int32 | InSegmentIndex | ) | const |
Get the path segment at the specified index
| InSegmentIndex | The index of the segment |
| bool FCachedPropertyPath::IsFullyResolved | ( | ) | const |
Check whether a path is fully resolved. This means that it has a cached address and does not resolve over an object boundary or a dynamic array.
| bool FCachedPropertyPath::IsResolved | ( | ) | const |
Check whether a path is resolved. This means that it has a cached address, but may resolve over an object boundary or a dynamic array.
|
inline |
Check whether this property path is non-empty
| void FCachedPropertyPath::MakeFromChangeEvent | ( | const FPropertyChangedChainEvent & | PropertyChangedChainEvent | ) |
Make a new property path from the chain of properties that come standard in PostEditPropertyChain events
| void FCachedPropertyPath::MakeFromChangeEvent | ( | const FPropertyChangedEvent & | PropertyChangedEvent, |
| const FEditPropertyChain & | PropertyChain | ||
| ) |
| void FCachedPropertyPath::MakeFromString | ( | const FString & | InPropertyPath | ) |
Make a new property path from a string
| FCachedPropertyPath FCachedPropertyPath::MakeParentPath | ( | ) | const |
Make a copy without the last segment, if the path is resolved, the new path is also resolved.
|
static |
Make a copy which is unresolved
| bool FCachedPropertyPath::operator== | ( | const FString & | Other | ) | const |
Compares this property path to a string
Trims this property path at the end
Trims this property path at the start
Resolve this property path against the specified object.
Cache a resolved function for faster subsequent access
Cache a resolved address for faster subsequent access
Set the cached container for this property path, for checking purposes
Update cached last container property in path & correspondng index, invalidates 'bCanSafelyUsedCachedAddress'
Set whether this path resolves over object or dynamic array boundaries, making it unsafe for general direct cached access
| void FCachedPropertyPath::ToEditPropertyChain | ( | FEditPropertyChain & | OutPropertyChain | ) | const |
Convert this property path to a FEditPropertyChain. Note that the path must be resolved.
| FPropertyChangedEvent FCachedPropertyPath::ToPropertyChangedEvent | ( | EPropertyChangeType::Type | InChangeType | ) | const |
Convert this property path to a FPropertyChangedEvent. Note that the path must be resolved.
| FString FCachedPropertyPath::ToString | ( | ) | const |
Make a string representation of this property path