Navigation
API > API/Runtime > API/Runtime/CoreUObject
For iterating through a linked list of fields.
| Name | TFieldIterator |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
| Include Path | #include "UObject/UnrealType.h" |
Syntax
template<class T>
class TFieldIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TFieldIterator
(
const UStruct* InStruct, |
UObject/UnrealType.h | ||
TFieldIterator
(
const UStruct* InStruct, |
Legacy version taking the flags as 3 separate values | UObject/UnrealType.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIncludeDeprecated | const bool | Whether to include deprecated fields or not | UObject/UnrealType.h | |
| bIncludeInterface | const bool | Whether to include interface fields or not | UObject/UnrealType.h | |
| bIncludeSuper | const bool | Whether to include the super class or not | UObject/UnrealType.h | |
| Field | T::BaseFieldClass * | The current location in the list of fields being iterated | UObject/UnrealType.h | |
| InterfaceIndex | int32 | The index of the current interface being iterated | UObject/UnrealType.h | |
| Struct | const UStruct * | The object being searched for the specified field | UObject/UnrealType.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UStruct * GetStruct() |
UObject/UnrealType.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void IterateToNext() |
UObject/UnrealType.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Conversion to "bool" returning true if the iterator is valid. | UObject/UnrealType.h | |
bool operator!() |
Inverse of the "bool" operator | UObject/UnrealType.h | |
bool operator!=
(
const TFieldIterator< T >& Rhs |
UObject/UnrealType.h | ||
T * operator* () |
UObject/UnrealType.h | ||
const T * operator* () |
UObject/UnrealType.h | ||
void operator++() |
UObject/UnrealType.h | ||
bool operator==
(
const TFieldIterator< T >& Rhs |
UObject/UnrealType.h | ||
T * operator->() |
UObject/UnrealType.h |