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

Public Types

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

Public Member Functions

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

Protected Member Functions

void FindNextElement ()
 
void FindPreviousElement ()
 

Protected Attributes

friend HashSet< T >
 
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: