Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TKeyIterator Class Reference

#include <SortedMap.h>

+ Inheritance diagram for TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TKeyIterator:
+ Collaboration diagram for TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TKeyIterator:

Public Member Functions

FORCEINLINE TKeyIterator (TSortedMap &InMap, KeyInitType InKey)
 
FORCEINLINE TKeyIteratoroperator++ ()
 
FORCEINLINE void RemoveCurrent ()
 
- Public Member Functions inherited from TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TBaseIterator< bConst >
FORCEINLINE TBaseIteratoroperator++ ()
 
FORCEINLINE operator bool () const
 
FORCEINLINE bool operator== (const TBaseIterator &Rhs) const
 
FORCEINLINE bool operator!= (const TBaseIterator &Rhs) const
 
FORCEINLINE ItKeyTypeKey () const
 
FORCEINLINE ItValueTypeValue () const
 
FORCEINLINE PairTypeoperator* () const
 
FORCEINLINE PairTypeoperator-> () const
 

Additional Inherited Members

- Public Types inherited from TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TBaseIterator< bConst >
typedef TChooseClass< bConst, typenameElementArrayType::TConstIterator, typenameElementArrayType::TIterator >::Result PairItType
 
- Protected Member Functions inherited from TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TBaseIterator< bConst >
FORCEINLINE TBaseIterator (const PairItType &InElementIt)
 
- Protected Attributes inherited from TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TBaseIterator< bConst >
PairItType PairIt
 

Detailed Description

template<typename KeyType, typename ValueType, typename ArrayAllocator, typename SortPredicate>
class TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TKeyIterator

Iterates over values associated with a specified key in a map. This will be at most one value because keys must be unique

Definition at line 699 of file SortedMap.h.

Constructor & Destructor Documentation

◆ TKeyIterator()

template<typename KeyType , typename ValueType , typename ArrayAllocator , typename SortPredicate >
FORCEINLINE TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TKeyIterator::TKeyIterator ( TSortedMap & InMap,
KeyInitType InKey )
inline

Definition at line 702 of file SortedMap.h.

Member Function Documentation

◆ operator++()

template<typename KeyType , typename ValueType , typename ArrayAllocator , typename SortPredicate >
FORCEINLINE TKeyIterator & TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TKeyIterator::operator++ ( )
inline

Definition at line 717 of file SortedMap.h.

◆ RemoveCurrent()

template<typename KeyType , typename ValueType , typename ArrayAllocator , typename SortPredicate >
FORCEINLINE void TSortedMap< KeyType, ValueType, ArrayAllocator, SortPredicate >::TKeyIterator::RemoveCurrent ( )
inline

Removes the current key-value pair from the map.

Definition at line 724 of file SortedMap.h.


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