AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agx::LinearProbingHashSetImplementation< KeyT, HashT >::insert_iterator Class Reference

#include <LinearProbingHashSet.h>

+ Inheritance diagram for agx::LinearProbingHashSetImplementation< KeyT, HashT >::insert_iterator:

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

 insert_iterator ()
 
 insert_iterator (MyType *hash_set, size_t bucket, bool overwrite)
 
bool didOverwrite () const
 
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 >::insert_iterator

Definition at line 201 of file LinearProbingHashSet.h.

Member Typedef Documentation

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

Definition at line 64 of file LinearProbingHashSet.h.

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

Definition at line 65 of file LinearProbingHashSet.h.

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

Definition at line 63 of file LinearProbingHashSet.h.

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

Definition at line 67 of file LinearProbingHashSet.h.

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

Definition at line 68 of file LinearProbingHashSet.h.

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

Definition at line 66 of file LinearProbingHashSet.h.

Constructor & Destructor Documentation

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

Definition at line 204 of file LinearProbingHashSet.h.

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

Definition at line 208 of file LinearProbingHashSet.h.

Member Function Documentation

template<typename KeyT, typename HashT = agx::HashFn<KeyT>>
bool agx::LinearProbingHashSetImplementation< KeyT, HashT >::insert_iterator::didOverwrite ( ) const
inline
Returns
True if the insert operation did overwrite an existing entry.

Definition at line 217 of file LinearProbingHashSet.h.

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

Definition at line 78 of file LinearProbingHashSet.h.

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

Member Data Documentation


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