roo_collections
API Documentation for roo_collections
Loading...
Searching...
No Matches
roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator Class Reference

Constant forward iterator. More...

#include <flat_small_hashtable.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = const Entry
 
using pointer = const Entry *
 
using reference = const Entry &
 

Public Member Functions

 ConstIterator ()
 
const Entryoperator* () const
 
const Entryoperator-> () const
 
ConstIteratoroperator++ ()
 
ConstIterator operator++ (int n)
 
bool operator== (const ConstIterator &other) const
 
bool operator!= (const ConstIterator &other) const
 

Friends

class FlatSmallHashtable
 

Detailed Description

template<typename Entry, typename Key, typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
class roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator

Constant forward iterator.

Definition at line 185 of file flat_small_hashtable.h.

Member Typedef Documentation

◆ difference_type

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
using roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::difference_type = std::ptrdiff_t

Definition at line 188 of file flat_small_hashtable.h.

◆ iterator_category

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
using roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::iterator_category = std::forward_iterator_tag

Definition at line 187 of file flat_small_hashtable.h.

◆ pointer

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
using roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::pointer = const Entry*

Definition at line 190 of file flat_small_hashtable.h.

◆ reference

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
using roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::reference = const Entry&

Definition at line 191 of file flat_small_hashtable.h.

◆ value_type

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
using roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::value_type = const Entry

Definition at line 189 of file flat_small_hashtable.h.

Constructor & Destructor Documentation

◆ ConstIterator()

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::ConstIterator ( )
inline

Definition at line 193 of file flat_small_hashtable.h.

Member Function Documentation

◆ operator!=()

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
bool roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::operator!= ( const ConstIterator other) const
inline

Definition at line 216 of file flat_small_hashtable.h.

◆ operator*()

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
const Entry & roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::operator* ( ) const
inline

Definition at line 195 of file flat_small_hashtable.h.

◆ operator++() [1/2]

◆ operator++() [2/2]

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
ConstIterator roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::operator++ ( int  n)
inline

◆ operator->()

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
const Entry * roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::operator-> ( ) const
inline

Definition at line 196 of file flat_small_hashtable.h.

◆ operator==()

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
bool roo_collections::FlatSmallHashtable< Entry, Key, HashFn, KeyFn, KeyCmpFn >::ConstIterator::operator== ( const ConstIterator other) const
inline

Definition at line 212 of file flat_small_hashtable.h.

Friends And Related Symbol Documentation

◆ FlatSmallHashtable

template<typename Entry , typename Key , typename HashFn = DefaultHashFn<Key>, typename KeyFn = DefaultKeyFn<Entry>, typename KeyCmpFn = std::equal_to<Key>>
friend class FlatSmallHashtable
friend

Definition at line 221 of file flat_small_hashtable.h.


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