Ark Server API (ASE) - 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 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
 

Friends

FORCEINLINE friend bool operator== (const TBaseIterator &Lhs, const TBaseIterator &Rhs)
 
FORCEINLINE friend bool operator!= (const TBaseIterator &Lhs, const TBaseIterator &Rhs)
 

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 530 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 540 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 541 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 539 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 537 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 542 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 545 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 570 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 557 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 562 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 573 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 550 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 574 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 571 of file Map.h.

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 568 of file Map.h.

◆ operator==

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

Definition at line 567 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 577 of file Map.h.


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