AGXDynamics  2.31.1.0
agx::HashSetImplementation< KeyT, HashT, AllocatorT >::insert_iterator Class Reference

#include <HashSet.h>

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

Public Types

typedef std::iterator_traits< T >::difference_type difference_type
 
typedef iterator::HashSetT HashSetT
 
typedef std::iterator_traits< T >::iterator_category iterator_category
 
typedef std::iterator_traits< T >::pointer pointer
 
typedef std::iterator_traits< T >::reference reference
 
typedef std::iterator_traits< T >::value_type value_type
 

Public Member Functions

 insert_iterator ()
 
 insert_iterator (HashSetT *hashSet, size_t startIndex, bool overwrite)
 
bool didOverwrite () const
 
 operator template_iterator< const T > () const
 Cast operator from non-const to const. More...
 
bool operator!= (const template_iterator< T > &rhs)
 
KeyT & operator* () const
 
template_iterator< T > & operator++ ()
 
template_iterator< T > operator++ (int)
 
template_iterator< T > operator-- ()
 
template_iterator< T > operator-- (int)
 
KeyT * operator-> () const
 
bool operator== (const template_iterator< T > &rhs)
 

Detailed Description

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

Definition at line 180 of file HashSet.h.

Member Typedef Documentation

◆ difference_type

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
typedef std::iterator_traits<T>::difference_type agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::difference_type
inherited

Definition at line 81 of file HashSet.h.

◆ HashSetT

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
typedef iterator::HashSetT agx::HashSetImplementation< KeyT, HashT, AllocatorT >::insert_iterator::HashSetT

Definition at line 183 of file HashSet.h.

◆ iterator_category

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
typedef std::iterator_traits<T>::iterator_category agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::iterator_category
inherited

Definition at line 79 of file HashSet.h.

◆ pointer

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
typedef std::iterator_traits<T>::pointer agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::pointer
inherited

Definition at line 83 of file HashSet.h.

◆ reference

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
typedef std::iterator_traits<T>::reference agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::reference
inherited

Definition at line 82 of file HashSet.h.

◆ value_type

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
typedef std::iterator_traits<T>::value_type agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::value_type
inherited

Definition at line 80 of file HashSet.h.

Constructor & Destructor Documentation

◆ insert_iterator() [1/2]

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

Definition at line 187 of file HashSet.h.

◆ insert_iterator() [2/2]

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
agx::HashSetImplementation< KeyT, HashT, AllocatorT >::insert_iterator::insert_iterator ( HashSetT *  hashSet,
size_t  startIndex,
bool  overwrite 
)
inline

Definition at line 191 of file HashSet.h.

Member Function Documentation

◆ didOverwrite()

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

Definition at line 198 of file HashSet.h.

◆ operator template_iterator< const T >()

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator template_iterator< const T > ( ) const
inlineinherited

Cast operator from non-const to const.

Definition at line 93 of file HashSet.h.

◆ operator!=()

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
bool agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator!= ( const template_iterator< T > &  rhs)
inlineinherited

Definition at line 133 of file HashSet.h.

◆ operator*()

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
KeyT& agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator* ( ) const
inlineinherited

◆ operator++() [1/2]

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
template_iterator<T>& agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator++ ( )
inlineinherited

Definition at line 101 of file HashSet.h.

◆ operator++() [2/2]

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
template_iterator<T> agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator++ ( int  )
inlineinherited

Definition at line 107 of file HashSet.h.

◆ operator--() [1/2]

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
template_iterator<T> agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator-- ( )
inlineinherited

Definition at line 116 of file HashSet.h.

◆ operator--() [2/2]

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
template_iterator<T> agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator-- ( int  )
inlineinherited

Definition at line 122 of file HashSet.h.

◆ operator->()

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
KeyT* agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator-> ( ) const
inlineinherited

◆ operator==()

template<typename KeyT, typename HashT = HashFn<KeyT>, typename AllocatorT = ByteAllocator>
template<typename T>
bool agx::HashSetImplementation< KeyT, HashT, AllocatorT >::template_iterator< T >::operator== ( const template_iterator< T > &  rhs)
inlineinherited

Definition at line 130 of file HashSet.h.


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