FObjectIterator

Class for iterating through all objects, including class default objects.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectIterator.h"

Syntax

class FObjectIterator : public FUObjectArray::TIterator

Remarks

Class for iterating through all objects, including class default objects. Note that when Playing In Editor, this will find objects in the editor as well as the PIE world, in an indeterminate order.

Variables

Name Description

Protected variable

EObjectFlags

 

ExclusionFlags

Flags that returned objects must not have

Protected variable

EInternalObject...

 

InternalExclusionFlags

Internal Flags that returned objects must not have

Constructors

Name Description

Public function

FObjectIterator

(
    FUObjectArray::TIterator::EEndTagTy...,
    const FObjectIterator& Begin
)

Constructor

Public function

FObjectIterator

(
    UClass* InClass,
    bool bOnlyGCedObjects,
    EObjectFlags AdditionalExclusionFla...,
    EInternalObjectFlags InInternalExcl...
)

Constructor

Operators

Name Description

Public function Const

UObject *...

 

operator*()

Iterator dereference

Public function

void

 

operator++()

Iterator advance

Public function Const

UObject *...

 

operator->()

Iterator dereference

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