HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR >::ConstIteratorTemplate< SUPER > Class Template Reference

#include <hashmap.h>

Inheritance diagram for HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR >::ConstIteratorTemplate< 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>
template<template< Bool > class SUPER>
class maxon::HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR >::ConstIteratorTemplate< SUPER >

Iterator class for const HashMap.

Public Member Functions

 ConstIteratorTemplate (typename Base::CollectionType &m)
 
 ConstIteratorTemplate (typename Base::CollectionType &m, Int b, typename Base::EntryType *e)
 
 ConstIteratorTemplate ()
 
ConstIteratorTemplateoperator++ ()
 
- Public Member Functions inherited from HashMap< K, V, HASH, ENTRY_HANDLER, ALLOCATOR, MODE, INITIAL_CAPACITY, LOAD_FACTOR >::IteratorTemplateBase< ConstIteratorTemplate< SUPER >, true, SUPER >
 IteratorTemplateBase (typename SUPER< CONSTITERATOR >::CollectionType &m)
 
 IteratorTemplateBase (typename SUPER< CONSTITERATOR >::CollectionType &m, Int b, typename SUPER< CONSTITERATOR >::EntryType *e)
 
 IteratorTemplateBase ()
 
const ConstIteratorTemplate< SUPER > operator++ (int)
 
- Public Member Functions inherited from ForEachIterator< ConstIteratorTemplate< SUPER >, SUPER< CONSTITERATOR > >
MAXON_ATTRIBUTE_FORCE_INLINE ForEachIterator (ARGS &&... args)
 
String ToString (const FormatStatement *formatStatement)
 
ConstIteratorTemplate< SUPER > & Find (const T &v)
 
Int FindIndex (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Bool Contains (const T &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE Wrapper begin ()
 

Private Types

using Base = IteratorTemplateBase< ConstIteratorTemplate< SUPER >, true, SUPER >
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

using Base = IteratorTemplateBase<ConstIteratorTemplate<SUPER>, true, SUPER>
private

Constructor & Destructor Documentation

◆ ConstIteratorTemplate() [1/3]

ConstIteratorTemplate ( typename Base::CollectionType &  m)
explicit

◆ ConstIteratorTemplate() [2/3]

ConstIteratorTemplate ( typename Base::CollectionType &  m,
Int  b,
typename Base::EntryType *  e 
)

◆ ConstIteratorTemplate() [3/3]

Member Function Documentation

◆ operator++()

ConstIteratorTemplate& operator++ ( )