AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agx::LinearProbingHashSetImplementation< KeyT, HashT >::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 = KeyT
 

Public Member Functions

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

Public Attributes

size_t _bucket
 
MyType * _set
 

Detailed Description

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

Definition at line 60 of file LinearProbingHashSet.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 64 of file LinearProbingHashSet.h.

◆ distance_type

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

Definition at line 65 of file LinearProbingHashSet.h.

◆ iterator_category

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

Definition at line 63 of file LinearProbingHashSet.h.

◆ pointer

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

Definition at line 67 of file LinearProbingHashSet.h.

◆ reference

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

Definition at line 68 of file LinearProbingHashSet.h.

◆ value_type

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

Definition at line 66 of file LinearProbingHashSet.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

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

◆ iterator() [2/2]

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

Definition at line 74 of file LinearProbingHashSet.h.

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

Definition at line 78 of file LinearProbingHashSet.h.

◆ operator++() [2/2]

◆ operator->()

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

◆ operator==()

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

Member Data Documentation

◆ _bucket

◆ _set


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