Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor > Class Template Reference

#include <Map.h>

+ Collaboration diagram for TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >:

Public Types

typedef TChooseClass< bConst, typenameTChooseClass< bRangedFor, typenameElementSetType::TRangedForConstIterator, typenameElementSetType::TConstIterator >::Result, typenameTChooseClass< bRangedFor, typenameElementSetType::TRangedForIterator, typenameElementSetType::TIterator >::Result >::Result PairItType
 

Public Member Functions

FORCEINLINE TBaseIterator (const PairItType &InElementIt)
 
FORCEINLINE TBaseIteratoroperator++ ()
 
FORCEINLINE operator bool () const
 
FORCEINLINE bool operator! () 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
 

Protected Attributes

PairItType PairIt
 

Private Types

typedef TChooseClass< bConst, constTMapBase, TMapBase >::Result MapType
 
typedef TChooseClass< bConst, constKeyType, KeyType >::Result ItKeyType
 
typedef TChooseClass< bConst, constValueType, ValueType >::Result ItValueType
 
typedef TChooseClass< bConst, consttypenameElementSetType::ElementType, typenameElementSetType::ElementType >::Result PairType
 

Detailed Description

template<typename KeyType, typename ValueType, typename SetAllocator, typename KeyFuncs>
template<bool bConst, bool bRangedFor = false>
class TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >

The base of TMapBase iterators.

Definition at line 730 of file Map.h.

Member Typedef Documentation

◆ ItKeyType

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
typedef TChooseClass<bConst,constKeyType,KeyType>::Result TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::ItKeyType
private

Definition at line 740 of file Map.h.

◆ ItValueType

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
typedef TChooseClass<bConst,constValueType,ValueType>::Result TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::ItValueType
private

Definition at line 741 of file Map.h.

◆ MapType

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
typedef TChooseClass<bConst,constTMapBase,TMapBase>::Result TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::MapType
private

Definition at line 739 of file Map.h.

◆ PairItType

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
typedef TChooseClass<bConst,typenameTChooseClass<bRangedFor,typenameElementSetType::TRangedForConstIterator,typenameElementSetType::TConstIterator>::Result,typenameTChooseClass<bRangedFor,typenameElementSetType::TRangedForIterator,typenameElementSetType::TIterator>::Result>::Result TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::PairItType

Definition at line 737 of file Map.h.

◆ PairType

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
typedef TChooseClass<bConst,consttypenameElementSetType::ElementType,typenameElementSetType::ElementType>::Result TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::PairType
private

Definition at line 742 of file Map.h.

Constructor & Destructor Documentation

◆ TBaseIterator()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::TBaseIterator ( const PairItType & InElementIt)
inline

Definition at line 745 of file Map.h.

Member Function Documentation

◆ Key()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE ItKeyType & TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::Key ( ) const
inline

Definition at line 770 of file Map.h.

◆ operator bool()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::operator bool ( ) const
inlineexplicit

conversion to "bool" returning true if the iterator is valid.

Definition at line 757 of file Map.h.

◆ operator!()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE bool TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::operator! ( ) const
inline

inverse of the "bool" operator

Definition at line 762 of file Map.h.

◆ operator!=()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE bool TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::operator!= ( const TBaseIterator< bConst, bRangedFor > & Rhs) const
inline

Definition at line 768 of file Map.h.

◆ operator*()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE PairType & TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::operator* ( ) const
inline

Definition at line 773 of file Map.h.

◆ operator++()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE TBaseIterator & TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::operator++ ( )
inline

Definition at line 750 of file Map.h.

◆ operator->()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE PairType * TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::operator-> ( ) const
inline

Definition at line 774 of file Map.h.

◆ operator==()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE bool TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::operator== ( const TBaseIterator< bConst, bRangedFor > & Rhs) const
inline

Definition at line 767 of file Map.h.

◆ Value()

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
FORCEINLINE ItValueType & TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::Value ( ) const
inline

Definition at line 771 of file Map.h.

Member Data Documentation

◆ PairIt

template<typename KeyType , typename ValueType , typename SetAllocator , typename KeyFuncs >
template<bool bConst, bool bRangedFor = false>
PairItType TMapBase< KeyType, ValueType, SetAllocator, KeyFuncs >::TBaseIterator< bConst, bRangedFor >::PairIt
protected

Definition at line 777 of file Map.h.


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