Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- FUObjectArray::TIterator
- TObjectIteratorBase
- TObjectIterator< UObject >
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectIterator.h |
| Include | #include "UObject/UObjectIterator.h" |
Syntax
template<EObjectIteratorThreadSafetyOptions IteratorThreadSafety>
class TObjectIteratorBase : 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. IteratorThreadSafety template parameter manages how this class handles thread safety of UObject iteration.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EObjectFlags | ExclusionFlags | Flags that returned objects must not have | |
| EInternalObjectFlags | InternalExclusionFlags | Internal Flags that returned objects must not have |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TObjectIteratorBase
(
const TObjectIteratorBase& Other |
Copy Constructor | ||
TObjectIteratorBase
(
FUObjectArray::TIterator::EEndTagType, |
Constructor | ||
TObjectIteratorBase
(
UClass* InClass, |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Wrapper around FUObjectArray::TIterator::Advance that locks the FUObjectArray mutex before advancing if necessary |
Operators
| Type | Name | Description | |
|---|---|---|---|
| UObject * | operator* () |
Iterator dereference | |
| void | operator++ () |
Iterator advance | |
| UObject * | operator-> () |
Iterator dereference |