HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR, ENTRY_ALLOCATOR >::IteratorTemplateBase< ITERATOR, CONSTITERATOR, SUPER > Class Template Reference

#include <hashmap.h>

Inheritance diagram for HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR, ENTRY_ALLOCATOR >::IteratorTemplateBase< ITERATOR, CONSTITERATOR, SUPER >:

Detailed Description

template<typename K, typename V, typename HASH = DefaultCompare, typename ENTRY_HANDLER = HashMapKeyValuePair, typename ALLOCATOR = DefaultAllocator, HASHMAP_MODE MODE = HASHMAP_MODE::DEFAULT, Int INITIAL_CAPACITY = 16, Int LOAD_FACTOR = (MODE == HASHMAP_MODE::SYNCHRONIZED) ? 0 : 10, typename ENTRY_ALLOCATOR = ALLOCATOR>
template<typename ITERATOR, Bool CONSTITERATOR, template< Bool > class SUPER>
class maxon::HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR, ENTRY_ALLOCATOR >::IteratorTemplateBase< ITERATOR, CONSTITERATOR, SUPER >

Iterator template class, used as base for Iterator and ConstIterator.

Public Member Functions

 IteratorTemplateBase (typename SUPER< CONSTITERATOR >::CollectionType &m)
 
 IteratorTemplateBase (typename SUPER< CONSTITERATOR >::CollectionType &m, Int b, typename SUPER< CONSTITERATOR >::EntryType *e)
 
 IteratorTemplateBase ()
 
const ITERATOR operator++ (int)
 
- Public Member Functions inherited from ForEachIterator< ITERATOR, SUPER< CONSTITERATOR > >
MAXON_ATTRIBUTE_FORCE_INLINE ForEachIterator (ARGS &&... args)
 
String ToString (const FormatStatement *formatStatement=nullptr)
 
ITERATOR & Find (const T &v)
 
Int FindIndex (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool Contains (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Wrapper begin ()
 

Friends

class HashMap
 

Additional Inherited Members

- Public Types inherited from ForEachIterator< ITERATOR, SUPER< CONSTITERATOR > >
using IsForEachIterator = std::true_type
 
- Static Public Member Functions inherited from ForEachIterator< ITERATOR, SUPER< CONSTITERATOR > >
static MAXON_ATTRIBUTE_FORCE_INLINE PRIVATE_MAXON_RBF_SENTINEL (Wrapper) end()
 

Constructor & Destructor Documentation

◆ IteratorTemplateBase() [1/3]

IteratorTemplateBase ( typename SUPER< CONSTITERATOR >::CollectionType &  m)
explicit

◆ IteratorTemplateBase() [2/3]

IteratorTemplateBase ( typename SUPER< CONSTITERATOR >::CollectionType &  m,
Int  b,
typename SUPER< CONSTITERATOR >::EntryType *  e 
)
explicit

◆ IteratorTemplateBase() [3/3]

Member Function Documentation

◆ operator++()

const ITERATOR operator++ ( int  )

Friends And Related Function Documentation

◆ HashMap

friend class HashMap
friend