UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TMAPBASE< KeyType, ValueType, SetAllocator, KeyFuncs >::TIterator Class Reference
+ Inheritance diagram for TMAPBASE< KeyType, ValueType, SetAllocator, KeyFuncs >::TIterator:

Public Member Functions

 TIterator (TMAPBASE &InMap, bool bInRequiresRehashOnRemoval=false)
 
 ~TIterator ()
 
void RemoveCurrent ()
 
- Public Member Functions inherited from TMAPBASE< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst >
UE_FORCEINLINE_HINT TBaseIterator (const PairItType &InElementIt)
 
UE_FORCEINLINE_HINT TBaseIteratoroperator++ ()
 
UE_FORCEINLINE_HINT operator bool () const
 
UE_FORCEINLINE_HINT bool operator! () const
 
UE_FORCEINLINE_HINT bool operator== (const TBaseIterator &Rhs) const
 
UE_FORCEINLINE_HINT bool operator!= (const TBaseIterator &Rhs) const
 
UE_FORCEINLINE_HINT ItKeyType & Key () const
 
UE_FORCEINLINE_HINT ItValueType & Value () const
 
UE_FORCEINLINE_HINT FSetElementId GetId () const
 
UE_FORCEINLINE_HINT PairType & operator* () const
 
UE_FORCEINLINE_HINT PairType * operator-> () const
 

Additional Inherited Members

- Public Types inherited from TMAPBASE< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst >
typedef std::conditional_t< bConst, typename ElementSetType::TConstIterator, typename ElementSetType::TIterator > PairItType
 
- Protected Attributes inherited from TMAPBASE< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst >
PairItType PairIt
 

Detailed Description

template<typename KeyType, typename ValueType, typename SetAllocator, typename KeyFuncs>
class TMAPBASE< KeyType, ValueType, SetAllocator, KeyFuncs >::TIterator

Map iterator.

Constructor & Destructor Documentation

◆ TIterator()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
TMAPBASE< KeyType, ValueType, SetAllocator, KeyFuncs >::TIterator::TIterator ( TMAPBASE InMap,
bool  bInRequiresRehashOnRemoval = false 
)
inline

Initialization constructor.

◆ ~TIterator()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
TMAPBASE< KeyType, ValueType, SetAllocator, KeyFuncs >::TIterator::~TIterator ( )
inline

Destructor.

Member Function Documentation

◆ RemoveCurrent()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
void TMAPBASE< KeyType, ValueType, SetAllocator, KeyFuncs >::TIterator::RemoveCurrent ( )
inline

Removes the current pair from the map without losing the iteration position. Increment before using the iterator again, but after that it will point at the element that was after the removed element.


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