Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
Include | #include "UObject/UObjectGlobals.h" |
Syntax
template<class TObjectClass>
class TObjectArrayIterator
Remarks
Iterator for arrays of UObject pointers
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectArrayIterator
(
TArray< TObjectClass* >& InArray, |
Sample code TArray |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | Advance () |
Iterator advance with ordinary name for clarity in subclasses |
![]() ![]() |
TObjectClass * | GetObject () |
Dereferences the iterator with an ordinary name for clarity in derived classes |
![]() |
void | Removes the current element from the array, slower, but preserves the order. | |
![]() |
void | Removes the current element from the array, faster, but does not preserves the array order. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Conversion to "bool" returning true if the iterator is valid. | ||
![]() ![]() |
bool | operator! () |
Inverse of the "bool" operator |
![]() ![]() |
TObjectClass & | operator* () |
Dereferences the iterator |
![]() |
void | operator++ () |
Iterator advance |
![]() ![]() |
TObjectClass * | operator-> () |
Dereferences the iterator |