TFieldIterator

For iterating through a linked list of fields.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Syntax

template<class T>
class TFieldIterator

Remarks

For iterating through a linked list of fields.

Constructors

Name Description

Public function

TFieldIterator

(
    const UStruct* InStruct,
    EFieldIterationFlags InIterationFla...
)

Public function

TFieldIterator

Legacy version taking the flags as 3 separate values

Functions

Name Description

Public function

const UStruc...

 

GetStruct()

Protected function

void

 

IterateToNext()

Operators

Name Description

Public function Const

 

operator bool()

Conversion to "bool" returning true if the iterator is valid.

Public function Const

bool

 

operator!()

Inverse of the "bool" operator

Public function

T *

 

operator*()

Public function Const

const T *...

 

operator*()

Public function

void

 

operator++()

Public function

T *

 

operator->()