Forward declarations of internals 更多...
类 | |
| struct | FCallGetterFunctionHelper |
| Non-UObject helper struct for GetValue function calls 更多... | |
| struct | FCallGetterFunctionHelper< T, UObject > |
| UObject partial specialization of FCallGetterFunctionHelper 更多... | |
| struct | FCallSetterFunctionHelper |
| Non-UObject helper struct for SetValue function calls 更多... | |
| struct | FCallSetterFunctionHelper< T, UObject > |
| UObject partial specialization of FCallSetterFunctionHelper 更多... | |
| struct | FGetValueFastHelper |
| Helper function used to get a value from an already-resolved property path 更多... | |
| struct | FGetValueFastHelper< bool > |
| Explicit specialization for bools/bitfields 更多... | |
| struct | FGetValueFastHelper< T[N]> |
| Partial specialization for arrays 更多... | |
| struct | FGetValueHelper |
| Helper function used to get a value 更多... | |
| struct | FGetValueHelper< bool, ContainerType > |
| Partial specialization for bools/bitfields 更多... | |
| struct | FGetValueHelper< T[N], ContainerType > |
| Partial specialization for arrays 更多... | |
| struct | FPropertyPathResolver |
| Base class for resolving property paths 更多... | |
| struct | FSetValueFastHelper |
| Helper function used to set a value from an already-resolved property path 更多... | |
| struct | FSetValueFastHelper< bool > |
| Explicit specialization for bools/bitfields 更多... | |
| struct | FSetValueFastHelper< T[N]> |
| Partial specialization for arrays 更多... | |
| struct | FSetValueHelper |
| Helper function used to set a value 更多... | |
| struct | FSetValueHelper< bool, ContainerType > |
| Partial specialization for bools/bitfields 更多... | |
| struct | FSetValueHelper< T[N], ContainerType > |
| Partial specialization for arrays 更多... | |
| struct | TPropertyPathResolver |
| Recurring template allowing derived types to only implement templated Resolve_Impl 更多... | |
函数 | |
| PROPERTYPATH_API FProperty * | GetFirstParamProperty (UFunction *InFunction) |
| Find the first param that isnt a return property for the specified function | |
| template<typename T , typename ContainerType > | |
| bool | GetValue (ContainerType *InContainer, const FCachedPropertyPath &InPropertyPath, FProperty *&OutProperty, T &OutValue) |
| Resolve a property path to a property and a value. 更多... | |
| template<typename T , typename ContainerType > | |
| bool | GetValueFast (ContainerType *InContainer, const FCachedPropertyPath &InPropertyPath, T &OutValue, FProperty *&OutProperty) |
| Fast, unsafe version of GetValue(). 更多... | |
| PROPERTYPATH_API bool | ResolvePropertyPath (UObject *InContainer, const FCachedPropertyPath &InPropertyPath, FPropertyPathResolver &InResolver) |
| Resolve a property path using the specified resolver 更多... | |
| PROPERTYPATH_API bool | ResolvePropertyPath (UObject *InContainer, const FString &InPropertyPath, FPropertyPathResolver &InResolver) |
| Resolve a property path using the specified resolver 更多... | |
| PROPERTYPATH_API bool | ResolvePropertyPath (void *InContainer, UStruct *InStruct, const FCachedPropertyPath &InPropertyPath, FPropertyPathResolver &InResolver) |
| Resolve a property path using the specified resolver 更多... | |
| PROPERTYPATH_API bool | ResolvePropertyPath (void *InContainer, UStruct *InStruct, const FString &InPropertyPath, FPropertyPathResolver &InResolver) |
| Resolve a property path using the specified resolver 更多... | |
| template<typename T , typename ContainerType > | |
| bool | SetValue (ContainerType *InContainer, const FCachedPropertyPath &InPropertyPath, const T &InValue) |
| Resolve a property path to a property and a value. 更多... | |
| template<typename T , typename ContainerType > | |
| bool | SetValueFast (ContainerType *InContainer, const FCachedPropertyPath &InPropertyPath, const T &InValue) |
| Fast, unsafe version of SetValue(). 更多... | |
Forward declarations of internals
Internal implementations of property path helpers - do not use directly
| bool PropertyPathHelpersInternal::GetValue | ( | ContainerType * | InContainer, |
| const FCachedPropertyPath & | InPropertyPath, | ||
| FProperty *& | OutProperty, | ||
| T & | OutValue | ||
| ) |
Resolve a property path to a property and a value.
Supports functions as input fields.
| InContainer | The containing object/structure for the current path iteration |
| InPropertyPath | The property path to get from |
| OutProperty | The resolved property |
| OutValue | The resolved value |
| bool PropertyPathHelpersInternal::GetValueFast | ( | ContainerType * | InContainer, |
| const FCachedPropertyPath & | InPropertyPath, | ||
| T & | OutValue, | ||
| FProperty *& | OutProperty | ||
| ) |
Fast, unsafe version of GetValue().
| InContainer | The containing object/structure to iterate against |
| InPropertyPath | The property path to use |
| OutValue | The value to write to |
| OutProperty | The leaf property that the path resolved to |
| PROPERTYPATH_API bool PropertyPathHelpersInternal::ResolvePropertyPath | ( | UObject * | InContainer, |
| const FCachedPropertyPath & | InPropertyPath, | ||
| FPropertyPathResolver & | InResolver | ||
| ) |
Resolve a property path using the specified resolver
| InContainer | The containing object to iterate against |
| InPropertyPath | The property path to iterate |
| InResolver | The visitor to use |
| PROPERTYPATH_API bool PropertyPathHelpersInternal::ResolvePropertyPath | ( | UObject * | InContainer, |
| const FString & | InPropertyPath, | ||
| FPropertyPathResolver & | InResolver | ||
| ) |
Resolve a property path using the specified resolver
| InContainer | The containing object to iterate against |
| InPropertyPath | The property path to iterate |
| InResolver | The resolver to use |
| PROPERTYPATH_API bool PropertyPathHelpersInternal::ResolvePropertyPath | ( | void * | InContainer, |
| UStruct * | InStruct, | ||
| const FCachedPropertyPath & | InPropertyPath, | ||
| FPropertyPathResolver & | InResolver | ||
| ) |
Resolve a property path using the specified resolver
| InContainer | The containing object/structure to iterate against |
| InStruct | The structure type that InContainer points to |
| InPropertyPath | The property path to iterate |
| InResolver | The visitor to use |
| PROPERTYPATH_API bool PropertyPathHelpersInternal::ResolvePropertyPath | ( | void * | InContainer, |
| UStruct * | InStruct, | ||
| const FString & | InPropertyPath, | ||
| FPropertyPathResolver & | InResolver | ||
| ) |
Resolve a property path using the specified resolver
| InContainer | The containing object/structure to iterate against |
| InStruct | The structure type that InContainer points to |
| InPropertyPath | The property path to iterate |
| InResolver | The resolver to use |
| bool PropertyPathHelpersInternal::SetValue | ( | ContainerType * | InContainer, |
| const FCachedPropertyPath & | InPropertyPath, | ||
| const T & | InValue | ||
| ) |
Resolve a property path to a property and a value.
| InContainer | The containing object/structure for the current path iteration |
| InPropertyPath | The property path to set from |
| InValue | The value to set |
| bool PropertyPathHelpersInternal::SetValueFast | ( | ContainerType * | InContainer, |
| const FCachedPropertyPath & | InPropertyPath, | ||
| const T & | InValue | ||
| ) |
Fast, unsafe version of SetValue().
| InContainer | The containing object/structure to iterate against |
| InPropertyPath | The property path to use |
| OutValue | The value to read from |