Iterator for arrays of UObject pointers 更多...
#include <UObjectGlobals.h>
Public 成员函数 | |
| FORCEINLINE | operator bool () const |
| conversion to "bool" returning true if the iterator is valid. | |
| FORCEINLINE bool | operator! () const |
| inverse of the "bool" operator | |
| FORCEINLINE TObjectClass & | operator* () const |
| Dereferences the iterator 更多... | |
| FORCEINLINE void | operator++ () |
| Iterator advance | |
| FORCEINLINE TObjectClass * | operator-> () const |
| Dereferences the iterator 更多... | |
| FORCEINLINE void | RemoveCurrent () |
| Removes the current element from the array, slower, but preserves the order. 更多... | |
| FORCEINLINE void | RemoveCurrentSwap () |
| Removes the current element from the array, faster, but does not preserves the array order. 更多... | |
| FORCEINLINE | TObjectArrayIterator (TArray< TObjectClass * > &InArray, UClass *InClassToCheck=nullptr, bool InbExactClass=false) |
| Constructor, iterates all non-null, non pending kill objects, optionally of a particular class or base class 更多... | |
Protected 成员函数 | |
| FORCEINLINE bool | Advance () |
| Iterator advance with ordinary name for clarity in subclasses 更多... | |
| FORCEINLINE TObjectClass * | GetObject () const |
| Dereferences the iterator with an ordinary name for clarity in derived classes 更多... | |
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 |
|
inlineprotected |
Iterator advance with ordinary name for clarity in subclasses
|
inlineprotected |
Dereferences the iterator with an ordinary name for clarity in derived classes
|
inline |
Dereferences the iterator
|
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.