![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UObjectIterator.h>
Public Types | |
| enum | EEndTagType { EndTag } |
Public Member Functions | |
| TObjectIterator (EObjectFlags AdditionalExclusionFlags=RF_ClassDefaultObject, bool bIncludeDerivedClasses=true, EInternalObjectFlags InInternalExclusionFlags=EInternalObjectFlags::None) | |
| TObjectIterator (EEndTagType, const TObjectIterator &Begin) | |
| UE_FORCEINLINE_HINT void | operator++ () |
| UE_FORCEINLINE_HINT | operator bool () const |
| UE_FORCEINLINE_HINT bool | operator! () const |
| FUNCTION_NON_NULL_RETURN_START UE_FORCEINLINE_HINT T * | operator* () const FUNCTION_NON_NULL_RETURN_END |
| FUNCTION_NON_NULL_RETURN_START UE_FORCEINLINE_HINT T * | operator-> () const FUNCTION_NON_NULL_RETURN_END |
| UE_FORCEINLINE_HINT bool | operator== (const TObjectIterator &Rhs) const |
| UE_FORCEINLINE_HINT bool | operator!= (const TObjectIterator &Rhs) const |
Protected Member Functions | |
| UE_FORCEINLINE_HINT UObject * | GetObject () const |
| bool | Advance () |
Protected Attributes | |
| TArray< UObject * > | ObjectArray |
| int32 | Index |
Class for iterating through all objects which inherit from a specified base class. Does not include any 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.
| enum TObjectIterator::EEndTagType |
|
inlineexplicit |
Constructor
|
inline |
Constructor
|
inlineprotected |
Iterator advance with ordinary name for clarity in subclasses
|
inlineprotected |
Dereferences the iterator with an ordinary name for clarity in derived classes
|
inlineexplicit |
Conversion to "bool" returning true if the iterator is valid.
|
inline |
Conversion to "bool" returning true if the iterator is valid.
|
inline |
|
inline |
Iterator dereference
|
inline |
Iterator advance
|
inline |
Iterator dereference
|
inline |
|
protected |
index of the current element in the object array
|
protected |
Results from the GetObjectsOfClass query