![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UObjectIterator.h>
Inheritance diagram for TObjectIteratorBase< IteratorThreadSafety >:Public Member Functions | |
| TObjectIteratorBase (UClass *InClass=UObject::StaticClass(), bool bOnlyGCedObjects=false, EObjectFlags AdditionalExclusionFlags=RF_NoFlags, EInternalObjectFlags InInternalExclusionFlags=EInternalObjectFlags::None) | |
| TObjectIteratorBase (FUObjectArray::TIterator::EEndTagType, const TObjectIteratorBase &Begin) | |
| TObjectIteratorBase (const TObjectIteratorBase &Other) | |
| ~TObjectIteratorBase () | |
| void | operator++ () |
| UObject * | operator* () const |
| UObject * | operator-> () const |
Public Member Functions inherited from FUObjectArray::TIterator | |
| TIterator (const FUObjectArray &InArray, bool bOnlyGCedObjects=false) | |
| TIterator (EEndTagType, const TIterator &InIter) | |
| UE_FORCEINLINE_HINT void | operator++ () |
| bool | operator== (const TIterator &Rhs) const |
| bool | operator!= (const TIterator &Rhs) const |
| UE_FORCEINLINE_HINT | operator bool () const |
| UE_FORCEINLINE_HINT bool | operator! () const |
| UE_FORCEINLINE_HINT int32 | GetIndex () const |
Protected Member Functions | |
| bool | AdvanceIterator () |
Protected Member Functions inherited from FUObjectArray::TIterator | |
| UE_FORCEINLINE_HINT FUObjectItem * | GetObject () const |
| bool | Advance () |
| const FUObjectArray & | GetIteratedArray () const |
Protected Attributes | |
| EObjectFlags | ExclusionFlags |
| EInternalObjectFlags | InternalExclusionFlags |
Additional Inherited Members | |
Public Types inherited from FUObjectArray::TIterator | |
| enum | EEndTagType { EndTag } |
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. IteratorThreadSafety template parameter manages how this class handles thread safety of UObject iteration.
|
inlineexplicit |
Constructor
| InClass | return only object of the class or a subclass |
| bOnlyGCedObjects | if true, skip all of the permanent objects |
| AdditionalExclusionFlags | RF_* flags that should not be included in results |
| InInternalExclusionFlags | EInternalObjectFlags flagged objects that should not be included in results |
|
inline |
Constructor
| Begin | The iterator to get the end iterator of. |
|
inline |
Copy Constructor
|
inline |
Destructor
|
inlineprotected |
Wrapper around FUObjectArray::TIterator::Advance that locks the FUObjectArray mutex before advancing if necessary
|
inline |
Iterator dereference
|
inline |
Iterator advance
|
inline |
Iterator dereference
|
protected |
Flags that returned objects must not have
|
protected |
Internal Flags that returned objects must not have