UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UObjectIterator.h File Reference

Go to the source code of this file.

Classes

class  FRawObjectIterator
 
class  TObjectIteratorBase< IteratorThreadSafety >
 
class  TObjectIterator< T >
 
class  TObjectIterator< UObject >
 
struct  TObjectRange< T >
 
struct  TObjectRange< UObject >
 

Typedefs

typedef TObjectIteratorBase< EObjectIteratorThreadSafetyOptions::NoneFUnsafeObjectIterator
 
typedef FUnsafeObjectIterator FObjectIterator
 
typedef TObjectIteratorBase< EObjectIteratorThreadSafetyOptions::ThreadSafeFThreadSafeObjectIterator
 
typedef TObjectIteratorBase< EObjectIteratorThreadSafetyOptions::ThreadSafeAdvanceFPersistentThreadSafeObjectIterator
 

Enumerations

enum class  EObjectIteratorThreadSafetyOptions : uint8 { None = 0 , ThreadSafe = 1 , ThreadSafeAdvance = 2 }
 

Functions

EInternalObjectFlags GetObjectIteratorDefaultInternalExclusionFlags (EInternalObjectFlags InternalExclusionFlags)
 

Typedef Documentation

◆ FObjectIterator

Deprecating the old FObjectIterator class which is now synonymous with FUnsafeObjectIterator

◆ FPersistentThreadSafeObjectIterator

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. Locks the global FUObjectArray when advancing to the next object. Should only be used with persistent iterator instances that exist for more than a frame.

◆ FThreadSafeObjectIterator

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. Locks the global FUObjectArray when iterating over it. Should only be used with function local iterator instances.

◆ FUnsafeObjectIterator

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. This iterator does not lock the gloabl FUObjectArray when iterating over it which may result in race conditions.

Enumeration Type Documentation

◆ EObjectIteratorThreadSafetyOptions

Enumerator
None 
ThreadSafe 
ThreadSafeAdvance 

Function Documentation

◆ GetObjectIteratorDefaultInternalExclusionFlags()

EInternalObjectFlags GetObjectIteratorDefaultInternalExclusionFlags ( EInternalObjectFlags  InternalExclusionFlags)
inline