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