AGX Dynamics  2.35.0.1
agx::LinearProbingHashSetImplementation< KeyT, HashT >::insert_iterator Class Reference

#include <LinearProbingHashSet.h>

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

Public Member Functions

 insert_iterator ()
 
 insert_iterator (MyType *hash_set, size_t bucket, bool overwrite)
 
bool didOverwrite () const
 
- Public Member Functions inherited from agx::LinearProbingHashSetImplementation< KeyT, HashT >::iterator
 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)
 

Additional Inherited Members

- Public Types inherited from agx::LinearProbingHashSetImplementation< KeyT, HashT >::iterator
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 Attributes inherited from agx::LinearProbingHashSetImplementation< KeyT, HashT >::iterator
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.

Constructor & Destructor Documentation

◆ insert_iterator() [1/2]

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.

◆ insert_iterator() [2/2]

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

◆ didOverwrite()

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.


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