engine
 
载入中...
搜索中...
未找到
类 | 函数
PropertyPathHelpersInternal 命名空间参考

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

函数说明

◆ GetValue()

template<typename T , typename ContainerType >
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.

参数
InContainerThe containing object/structure for the current path iteration
InPropertyPathThe property path to get from
OutPropertyThe resolved property
OutValueThe resolved value
返回
true if the address and property were resolved

◆ GetValueFast()

template<typename T , typename ContainerType >
bool PropertyPathHelpersInternal::GetValueFast ( ContainerType *  InContainer,
const FCachedPropertyPath &  InPropertyPath,
T &  OutValue,
FProperty *&  OutProperty 
)

Fast, unsafe version of GetValue().

参数
InContainerThe containing object/structure to iterate against
InPropertyPathThe property path to use
OutValueThe value to write to
OutPropertyThe leaf property that the path resolved to
返回
true if the value was written successfully

◆ ResolvePropertyPath() [1/4]

PROPERTYPATH_API bool PropertyPathHelpersInternal::ResolvePropertyPath ( UObject *  InContainer,
const FCachedPropertyPath &  InPropertyPath,
FPropertyPathResolver &  InResolver 
)

Resolve a property path using the specified resolver

参数
InContainerThe containing object to iterate against
InPropertyPathThe property path to iterate
InResolverThe visitor to use
返回
true if the iteration completed successfully

◆ ResolvePropertyPath() [2/4]

PROPERTYPATH_API bool PropertyPathHelpersInternal::ResolvePropertyPath ( UObject *  InContainer,
const FString &  InPropertyPath,
FPropertyPathResolver &  InResolver 
)

Resolve a property path using the specified resolver

参数
InContainerThe containing object to iterate against
InPropertyPathThe property path to iterate
InResolverThe resolver to use
返回
true if the iteration completed successfully

◆ ResolvePropertyPath() [3/4]

PROPERTYPATH_API bool PropertyPathHelpersInternal::ResolvePropertyPath ( void *  InContainer,
UStruct *  InStruct,
const FCachedPropertyPath &  InPropertyPath,
FPropertyPathResolver &  InResolver 
)

Resolve a property path using the specified resolver

参数
InContainerThe containing object/structure to iterate against
InStructThe structure type that InContainer points to
InPropertyPathThe property path to iterate
InResolverThe visitor to use
返回
true if the iteration completed successfully

◆ ResolvePropertyPath() [4/4]

PROPERTYPATH_API bool PropertyPathHelpersInternal::ResolvePropertyPath ( void *  InContainer,
UStruct *  InStruct,
const FString &  InPropertyPath,
FPropertyPathResolver &  InResolver 
)

Resolve a property path using the specified resolver

参数
InContainerThe containing object/structure to iterate against
InStructThe structure type that InContainer points to
InPropertyPathThe property path to iterate
InResolverThe resolver to use
返回
true if the iteration completed successfully

◆ SetValue()

template<typename T , typename ContainerType >
bool PropertyPathHelpersInternal::SetValue ( ContainerType *  InContainer,
const FCachedPropertyPath &  InPropertyPath,
const T &  InValue 
)

Resolve a property path to a property and a value.

参数
InContainerThe containing object/structure for the current path iteration
InPropertyPathThe property path to set from
InValueThe value to set
返回
true if the value was resolved

◆ SetValueFast()

template<typename T , typename ContainerType >
bool PropertyPathHelpersInternal::SetValueFast ( ContainerType *  InContainer,
const FCachedPropertyPath &  InPropertyPath,
const T &  InValue 
)

Fast, unsafe version of SetValue().

参数
InContainerThe containing object/structure to iterate against
InPropertyPathThe property path to use
OutValueThe value to read from
返回
true if the value was read successfully