TAllFieldsIterator

For iterating through all fields in all structs including inner FProperties of top level FProperties.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/FieldIterator.h"

Syntax

template<class T>
class TAllFieldsIterator

Remarks

For iterating through all fields in all structs including inner FProperties of top level FProperties.

Constructors

Name Description

Public function

TAllFieldsIterator

(
    EObjectFlags AdditionalExclusionFla...,
    EInternalObjectFlags InternalExclus...
)

Functions

Name Description

Protected function

void

 

ConditionallyIterateToNextStruct()

Protected function

void

 

InitCurrentFields()

Initializes CurrentFields array with the currently iterated field as well as the fields it owns

Protected function

void

 

InitFieldIterator()

Initializes the field iterator for the current struct

Protected function

void

 

IterateToNextField()

Advances to the next field of the specified template type

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

void

 

operator++()

Public function

T *

 

operator->()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss