![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UObjectGlobals.h>
Public Member Functions | |
| TObjectArrayIterator (TArray< TObjectClass * > &InArray, UClass *InClassToCheck=nullptr, EFindObjectFlags InFlags=EFindObjectFlags::None) | |
| template<UE::CSameAs< bool > ExactClassType> | |
| UE_NODEBUG UE_FORCEINLINE_HINT | TObjectArrayIterator (TArray< TObjectClass * > &InArray, UClass *InClassToCheck, ExactClassType bInExactClass) |
| UE_FORCEINLINE_HINT void | operator++ () |
| UE_FORCEINLINE_HINT | operator bool () const |
| UE_FORCEINLINE_HINT bool | operator! () const |
| TObjectClass & | operator* () const |
| TObjectClass * | operator-> () const |
| UE_FORCEINLINE_HINT void | RemoveCurrent () |
| UE_FORCEINLINE_HINT void | RemoveCurrentSwap () |
Protected Member Functions | |
| UE_FORCEINLINE_HINT TObjectClass * | GetObject () const |
| bool | Advance () |
Iterator for arrays of UObject pointers
| TObjectClass | type of pointers contained in array |
|
inline |
Constructor, iterates all non-null, non pending kill objects, optionally of a particular class or base class
| InArray | the array to iterate on |
| InClass | if non-null, will only iterate on items IsA this class |
| InbExactClass | if true, will only iterate on exact matches |
|
inline |
|
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 |
inverse of the "bool" operator
|
inline |
Dereferences the iterator
|
inline |
Iterator advance
|
inline |
Dereferences the iterator
|
inline |
Removes the current element from the array, slower, but preserves the order. Iterator is decremented for you so a loop will check all items.
|
inline |
Removes the current element from the array, faster, but does not preserves the array order. Iterator is decremented for you so a loop will check all items.