AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator Class Reference

#include <LinearProbingHashSet.h>

Public Types

using difference_type = size_t
 
using distance_type = size_t
 
using iterator_category = std::forward_iterator_tag
 
using pointer = value_type *
 
using reference = value_type &
 
using value_type = const KeyT
 

Public Member Functions

 const_iterator ()
 
 const_iterator (const MyType *hash_set, size_t bucket)
 
 const_iterator (iterator proto)
 
bool operator!= (const const_iterator &rhs)
 
reference operator* () const
 
const_iterator & operator++ ()
 
const_iterator operator++ (int)
 
pointer operator-> () const
 
bool operator== (const const_iterator &rhs)
 

Public Attributes

size_t _bucket
 
const MyType * _set
 

Detailed Description

template<typename KeyT, typename HashT = agx::HashFn<KeyT>>
class agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator

Definition at line 129 of file LinearProbingHashSet.h.

Member Typedef Documentation

◆ difference_type

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::difference_type = size_t

Definition at line 133 of file LinearProbingHashSet.h.

◆ distance_type

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::distance_type = size_t

Definition at line 134 of file LinearProbingHashSet.h.

◆ iterator_category

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::iterator_category = std::forward_iterator_tag

Definition at line 132 of file LinearProbingHashSet.h.

◆ pointer

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::pointer = value_type*

Definition at line 136 of file LinearProbingHashSet.h.

◆ reference

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::reference = value_type&

Definition at line 137 of file LinearProbingHashSet.h.

◆ value_type

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::value_type = const KeyT

Definition at line 135 of file LinearProbingHashSet.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::const_iterator ( )
inline

◆ const_iterator() [2/3]

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::const_iterator ( iterator  proto)
inline

Definition at line 141 of file LinearProbingHashSet.h.

◆ const_iterator() [3/3]

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::const_iterator ( const MyType *  hash_set,
size_t  bucket 
)
inline

Definition at line 145 of file LinearProbingHashSet.h.

Member Function Documentation

◆ operator!=()

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
bool agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::operator!= ( const const_iterator &  rhs)
inline

◆ operator*()

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
reference agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
const_iterator & agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::operator++ ( )
inline

Definition at line 149 of file LinearProbingHashSet.h.

◆ operator++() [2/2]

◆ operator->()

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
pointer agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::operator-> ( ) const
inline

◆ operator==()

template<typename KeyT , typename HashT = agx::HashFn<KeyT>>
bool agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_iterator::operator== ( const const_iterator &  rhs)
inline

Member Data Documentation

◆ _bucket

◆ _set


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