![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IteratorAdapter.h>
Inheritance diagram for TIteratorAdapter< Base >:Public Types | |
| using | BaseType = Base |
| using | ThisType = TIteratorAdapter< Base > |
| using | ElementType = typename BaseType::ElementType |
| using | SizeType = typename BaseType::SizeType |
Public Member Functions | |
| TIteratorAdapter ()=default | |
| template<typename... Args> | |
| TIteratorAdapter (EInPlace, Args &&... InArgs) | |
| ElementType & | operator* () const |
| ElementType * | operator-> () const |
| ThisType & | operator++ () |
| ThisType | operator++ (int) |
| ThisType & | operator-- () |
| ThisType | operator-- (int) |
| ThisType & | operator+= (SizeType Offset) |
| ThisType & | operator-= (SizeType Offset) |
| ThisType | operator+ (SizeType Offset) const |
| ThisType | operator- (SizeType Offset) const |
| bool | operator== (const TIteratorAdapter &Right) const |
| bool | operator!= (const TIteratorAdapter &Right) const |
Friends | |
| template<typename AnyElementType > | |
| class | TIteratorAdapter |
Adapter class for iterator implementation.
This class provides an interface to implement UE compatible iterators with a minimum set of implementation requirements. This provides the user with an easier way to implement custom iterators. The adapter uses a CRTP pattern requiring its base class to implement the following:
Types:
| using TIteratorAdapter< Base >::BaseType = Base |
| using TIteratorAdapter< Base >::ElementType = typename BaseType::ElementType |
| using TIteratorAdapter< Base >::SizeType = typename BaseType::SizeType |
| using TIteratorAdapter< Base >::ThisType = TIteratorAdapter<Base> |
|
default |
|
inline |
Perfect forwarding constructor to the iterator class.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |