symbolic
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
symbolic::HashSet< T >::const_iterator Class Reference

Public Types

using iterator_category = std::bidirectional_iterator_tag
 
using value_type = T
 
using difference_type = ptrdiff_t
 
using pointer = const T *
 
using reference = const T &
 

Public Member Functions

 const_iterator (const std::vector< UniqueVector< T >> &buckets, const int idx_bucket, const int idx_in_bucket)
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const const_iterator &rhs) const
 
bool operator!= (const const_iterator &rhs) const
 
const_iteratoroperator-- ()
 
const_iterator operator-- (int)
 

Protected Member Functions

void FindNextElement ()
 
void FindPreviousElement ()
 

Protected Attributes

friend HashSet< T >
 
const std::vector< UniqueVector< T > > * buckets_ = nullptr
 
int idx_bucket_ = 0
 
int idx_in_bucket_ = 0
 

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