Base class for cached property paths 更多...
#include <PropertyPathHelpers.h>
被 FDynamicPropertyPath 继承.
Public 成员函数 | |
| bool | Equals (const FString &Other) const |
| Compares this property path to a string | |
| FCachedPropertyPath () | |
| UStruct boilerplate constructor - do not use | |
| void * | GetCachedAddress () const |
| Get the cached address for this property path, if any | |
| UFunction * | GetCachedFunction () const |
| Get the cached function for this property path, if any | |
| FProperty * | GetFProperty () const |
| Returns FProperty if valid. 更多... | |
| const FPropertyPathSegment & | GetLastSegment () const |
| Get the path segment at the end of the path 更多... | |
| int32 | GetNumSegments () const |
| const FPropertyPathSegment & | GetSegment (int32 InSegmentIndex) const |
| Get the path segment at the specified index 更多... | |
| bool | IsFullyResolved () const |
| Check whether a path is fully resolved. 更多... | |
| bool | IsResolved () const |
| Check whether a path is resolved. 更多... | |
| bool | IsValid () const |
| Check whether this property path is non-empty | |
| void | MakeFromString (const FString &InPropertyPath) |
| Make a new property path from a string | |
| bool | operator== (const FString &Other) const |
| Compares this property path to a string | |
| void | RemoveFromEnd (int32 InNumSegments=1) |
| Trims this property path at the end | |
| void | RemoveFromStart (int32 InNumSegments=1) |
| Trims this property path at the start | |
| bool | Resolve (UObject *InContainer) const |
| Resolve this property path against the specified object. 更多... | |
| void | ResolveLeaf (UFunction *InFunction) const |
| Cache a resolved function for faster subsequent access | |
| void | ResolveLeaf (void *InAddress) const |
| Cache a resolved address for faster subsequent access | |
| void | SetCanSafelyUsedCachedAddress (bool bInCanSafelyUsedCachedAddress) const |
| Set whether this path resolves over object or dynamic array boundaries, making it unsafe for general direct cached access | |
| void | ToEditPropertyChain (FEditPropertyChain &OutPropertyChain) const |
| Convert this property path to a FEditPropertyChain. 更多... | |
| FPropertyChangedEvent | ToPropertyChangedEvent (EPropertyChangeType::Type InChangeType) const |
| Convert this property path to a FPropertyChangedEvent. 更多... | |
| FString | ToString () const |
| Make a string representation of this property path | |
静态 Public 成员函数 | |
| static FCachedPropertyPath | MakeUnresolvedCopy (const FCachedPropertyPath &ToCopy) |
| Make a copy which is unresolved | |
Base class for cached property paths
| FProperty * FCachedPropertyPath::GetFProperty | ( | ) | const |
Returns FProperty if valid.
This can be UFunction
| 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.
| bool FCachedPropertyPath::Resolve | ( | UObject * | InContainer | ) | const |
Resolve this property path against the specified object.
| 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.