HybridMap< K, V, SMALL, LARGE, THRESHOLD, REVERSE_THRESHOLD >::KeyIteratorBase< CONSTITERATOR > Class Template Reference

#include <hybridmap.h>

Inheritance diagram for HybridMap< K, V, SMALL, LARGE, THRESHOLD, REVERSE_THRESHOLD >::KeyIteratorBase< CONSTITERATOR >:

Public Types

using ValueType = const K &
 
using Super = EntryIteratorBase< CONSTITERATOR >
 
- Public Types inherited from HybridMap< K, V, SMALL, LARGE, THRESHOLD, REVERSE_THRESHOLD >::EntryIteratorBase< CONSTITERATOR >
using Super = typename std::conditional< CONSTITERATOR, IteratorBase< true >, NonConstIteratorBase >::type
 
using CollectionType = typename ConstIf< HybridMap, CONSTITERATOR >::type
 
using KeyType = K
 
using MappedType = typename ConstIf< V, CONSTITERATOR >::type
 
using Small = decltype(*std::declval< typename Super::SmallIterator >())
 
using Large = decltype(*std::declval< typename Super::LargeIterator >())
 
using ValueType = typename std::conditional< SAME_TYPE, typename CommonLValue< Small, Small, Large >::type, Pair< K, V > >::type
 

Public Member Functions

 KeyIteratorBase ()
 
 KeyIteratorBase (const typename Super::SmallIterator &src)
 
 KeyIteratorBase (const typename Super::LargeIterator &src)
 
 KeyIteratorBase (const KeyIteratorBase &src)
 
 KeyIteratorBase (typename Super::CollectionType &m, Int s=0)
 
const K * operator-> () const
 
const K & operator* () const
 
- Public Member Functions inherited from HybridMap< K, V, SMALL, LARGE, THRESHOLD, REVERSE_THRESHOLD >::EntryIteratorBase< CONSTITERATOR >
 EntryIteratorBase ()
 
 EntryIteratorBase (const typename Super::SmallIterator &src)
 
 EntryIteratorBase (const typename Super::LargeIterator &src)
 
 EntryIteratorBase (const EntryIteratorBase &src)
 
 EntryIteratorBase (CollectionType &m, Int s=0)
 
ValueType operator* () const
 

Additional Inherited Members

- Static Public Attributes inherited from HybridMap< K, V, SMALL, LARGE, THRESHOLD, REVERSE_THRESHOLD >::EntryIteratorBase< CONSTITERATOR >
static const Bool SAME_TYPE
 
- Protected Member Functions inherited from HybridMap< K, V, SMALL, LARGE, THRESHOLD, REVERSE_THRESHOLD >::EntryIteratorBase< CONSTITERATOR >
void operator-> ()
 

Member Typedef Documentation

◆ ValueType

using ValueType = const K&

◆ Super

using Super = EntryIteratorBase<CONSTITERATOR>

Constructor & Destructor Documentation

◆ KeyIteratorBase() [1/5]

◆ KeyIteratorBase() [2/5]

KeyIteratorBase ( const typename Super::SmallIterator &  src)
explicit

◆ KeyIteratorBase() [3/5]

KeyIteratorBase ( const typename Super::LargeIterator &  src)
explicit

◆ KeyIteratorBase() [4/5]

KeyIteratorBase ( const KeyIteratorBase< CONSTITERATOR > &  src)

◆ KeyIteratorBase() [5/5]

KeyIteratorBase ( typename Super::CollectionType m,
Int  s = 0 
)
explicit

Member Function Documentation

◆ operator->()

const K* operator-> ( ) const

◆ operator*()

const K& operator* ( ) const