Templated version, will verify the property type is correct and will skip any properties that are not 更多...
#include <UnrealType.h>
类 TPropertyValueIterator< T > 继承关系图:Public 成员函数 | |
| FORCEINLINE T * | Key () const |
| Returns Property currently being iterated | |
| FORCEINLINE const PairType & | operator* () const |
| Returns a TPair containing Property/Value currently being iterated | |
| TPropertyValueIterator () | |
| Invalid iterator, start with empty stack | |
| TPropertyValueIterator (const UStruct *InStruct, const void *InStructValue, EPropertyValueIteratorFlags InRecursionFlags=EPropertyValueIteratorFlags::FullRecursion, EFieldIteratorFlags::DeprecatedPropertyFlags InDeprecatedPropertyFlags=EFieldIteratorFlags::IncludeDeprecated) | |
| Construct an iterator using a struct and struct value 更多... | |
Public 成员函数 继承自 FPropertyValueIterator | |
| FPropertyValueIterator () | |
| Invalid iterator, start with empty stack | |
| FPropertyValueIterator (FFieldClass *InPropertyClass, const UStruct *InStruct, const void *InStructValue, EPropertyValueIteratorFlags InRecursionFlags=EPropertyValueIteratorFlags::FullRecursion, EFieldIteratorFlags::DeprecatedPropertyFlags InDeprecatedPropertyFlags=EFieldIteratorFlags::IncludeDeprecated) | |
| Construct an iterator using a struct and struct value 更多... | |
| COREUOBJECT_API void | GetPropertyChain (TArray< const FProperty * > &PropertyChain) const |
| Returns the full stack of properties for the property currently being iterated. 更多... | |
| FORCEINLINE const FProperty * | Key () const |
| Returns Property currently being iterated | |
| FORCEINLINE | operator bool () const |
| Conversion to "bool" returning true if the iterator is valid | |
| FORCEINLINE const BasePairType & | operator* () const |
| Returns a TPair containing Property/Value currently being iterated | |
| FORCEINLINE void | operator++ () |
| Increments iterator | |
| FORCEINLINE void | SkipRecursiveProperty () |
| Call when iterating a recursive property such as Array or Struct to stop it from iterating into that property | |
| FORCEINLINE const void * | Value () const |
| Returns memory address currently being iterated | |
Templated version, will verify the property type is correct and will skip any properties that are not
|
inline |
Construct an iterator using a struct and struct value
| InStruct | The UClass or UScriptStruct containing properties to search for |
| InStructValue | Address in memory of struct to search for property values |
| InRecursionFlags | Rather to recurse into container and struct properties |
| InDeprecatedPropertyFlags | Rather to iterate over deprecated properties |