UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator Class Reference

#include <SharedPointerArray.h>

Public Member Functions

ULANG_FORCEINLINE Iterator ()
 
ULANG_FORCEINLINE Iterator (ElementType *const *Item, const typename InElementAllocatorType::RawAllocatorType &Allocator)
 
ULANG_FORCEINLINE ~Iterator ()=default
 
ULANG_FORCEINLINE const PointerTypeoperator* () const
 
ULANG_FORCEINLINE const ElementTypeoperator-> () const
 
ULANG_FORCEINLINE bool operator== (const Iterator &Other) const
 
ULANG_FORCEINLINE bool operator!= (const Iterator &Other) const
 
ULANG_FORCEINLINE Iteratoroperator++ ()
 
ULANG_FORCEINLINE Iterator operator++ (int)
 
ULANG_FORCEINLINE Iteratoroperator-- ()
 
ULANG_FORCEINLINE Iterator operator-- (int)
 

Protected Member Functions

ULANG_FORCEINLINE PointerTypePtr () const
 

Protected Attributes

ElementType *const * _Item
 
TTypeCompatibleBytes< PointerType_DummyPtr
 

Friends

ULANG_FORCEINLINE Iterator operator+ (const Iterator &Left, int32_t Right)
 
ULANG_FORCEINLINE Iterator operator+ (int32_t Left, const Iterator &Right)
 
ULANG_FORCEINLINE int32_t operator- (const Iterator &Left, const Iterator &Right)
 

Detailed Description

template<typename InElementType, bool AllowNull, typename InElementAllocatorType, typename... RawAllocatorArgsType>
class uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator

STL-like iterator to enable range-based for loop support.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::Iterator ( )
inline

◆ Iterator() [2/2]

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::Iterator ( ElementType *const *  Item,
const typename InElementAllocatorType::RawAllocatorType &  Allocator 
)
inline

◆ ~Iterator()

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::~Iterator ( )
default

Member Function Documentation

◆ operator!=()

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE bool uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::operator!= ( const Iterator Other) const
inline

◆ operator*()

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE const PointerType & uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE Iterator & uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE Iterator uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::operator++ ( int  )
inline

◆ operator--() [1/2]

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE Iterator & uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::operator-- ( )
inline

◆ operator--() [2/2]

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE Iterator uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::operator-- ( int  )
inline

◆ operator->()

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE const ElementType * uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::operator-> ( ) const
inline

◆ operator==()

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE bool uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::operator== ( const Iterator Other) const
inline

◆ Ptr()

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE PointerType & uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::Ptr ( ) const
inlineprotected

Friends And Related Symbol Documentation

◆ operator+ [1/2]

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE Iterator operator+ ( const Iterator Left,
int32_t  Right 
)
friend

◆ operator+ [2/2]

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE Iterator operator+ ( int32_t  Left,
const Iterator Right 
)
friend

◆ operator-

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ULANG_FORCEINLINE int32_t operator- ( const Iterator Left,
const Iterator Right 
)
friend

Member Data Documentation

◆ _DummyPtr

◆ _Item

template<typename InElementType , bool AllowNull, typename InElementAllocatorType , typename... RawAllocatorArgsType>
ElementType* const* uLang::TSPtrArrayG< InElementType, AllowNull, InElementAllocatorType, RawAllocatorArgsType >::Iterator::_Item
protected

The documentation for this class was generated from the following file: