AGX Dynamics  2.35.0.1
agx::LinearProbingHashTableImplementation< KeyT, ValueT, HashT, AllocatorT >::insert_iterator Class Reference

#include <LinearProbingHashTable.h>

+ Inheritance diagram for agx::LinearProbingHashTableImplementation< KeyT, ValueT, HashT, AllocatorT >::insert_iterator:

Public Member Functions

 insert_iterator ()
 
 insert_iterator (MyType *hash_map, size_t bucket, bool overwrite)
 
bool didOverwrite () const
 
- Public Member Functions inherited from agx::LinearProbingHashTableImplementation< KeyT, ValueT, HashT, AllocatorT >::iterator
 iterator ()
 
 iterator (MyType *hash_map, size_t bucket)
 
bool operator!= (const iterator &rhs) const
 
reference operator* () const
 
iterator & operator++ ()
 
iterator operator++ (int)
 
iterator operator-- ()
 Does not do any bounds checking, so only call this if there really is a previous element. More...
 
iterator operator-- (int)
 Does not do any bounds checking, so only call this if there really is a previous element. More...
 
pointer operator-> () const
 
bool operator== (const iterator &rhs) const
 

Additional Inherited Members

- Public Types inherited from agx::LinearProbingHashTableImplementation< KeyT, ValueT, HashT, AllocatorT >::iterator
using bucket_type = std::pair< KeyT, ValueT >
 
using difference_type = size_t
 
using distance_type = size_t
 
using iterator_category = std::forward_iterator_tag
 
using pointer = bucket_type *
 
using reference = bucket_type &
 
- Public Attributes inherited from agx::LinearProbingHashTableImplementation< KeyT, ValueT, HashT, AllocatorT >::iterator
size_t _bucket
 
MyType * _map
 

Detailed Description

template<typename KeyT, typename ValueT, typename HashT = agx::HashFn<KeyT>, typename AllocatorT = ByteAllocator>
class agx::LinearProbingHashTableImplementation< KeyT, ValueT, HashT, AllocatorT >::insert_iterator

Definition at line 278 of file LinearProbingHashTable.h.

Constructor & Destructor Documentation

◆ insert_iterator() [1/2]

template<typename KeyT , typename ValueT , typename HashT = agx::HashFn<KeyT>, typename AllocatorT = ByteAllocator>
agx::LinearProbingHashTableImplementation< KeyT, ValueT, HashT, AllocatorT >::insert_iterator::insert_iterator ( )
inline

Definition at line 281 of file LinearProbingHashTable.h.

◆ insert_iterator() [2/2]

template<typename KeyT , typename ValueT , typename HashT = agx::HashFn<KeyT>, typename AllocatorT = ByteAllocator>
agx::LinearProbingHashTableImplementation< KeyT, ValueT, HashT, AllocatorT >::insert_iterator::insert_iterator ( MyType *  hash_map,
size_t  bucket,
bool  overwrite 
)
inline

Definition at line 285 of file LinearProbingHashTable.h.

Member Function Documentation

◆ didOverwrite()

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

Definition at line 293 of file LinearProbingHashTable.h.


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