Jlm
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
jlm::util::DisjointSet< T >::SetIterator Class Referencefinal

#include <disjointset.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = const Set *
 
using difference_type = ptrdiff_t
 
using pointer = const Set **
 
using reference = const Set *&
 

Public Member Functions

const Setoperator* () const
 
const Setoperator-> () const
 
SetIteratoroperator++ ()
 
SetIterator operator++ (int)
 
bool operator== (const SetIterator &other) const
 
bool operator!= (const SetIterator &other) const
 

Private Member Functions

 SetIterator (const typename std::unordered_set< const Set * >::const_iterator &it)
 

Private Attributes

std::unordered_set< const Set * >::const_iterator it_
 

Friends

class DisjointSet
 

Detailed Description

template<class T>
class jlm::util::DisjointSet< T >::SetIterator

Definition at line 185 of file disjointset.hpp.

Member Typedef Documentation

◆ difference_type

template<class T >
using jlm::util::DisjointSet< T >::SetIterator::difference_type = ptrdiff_t

Definition at line 190 of file disjointset.hpp.

◆ iterator_category

template<class T >
using jlm::util::DisjointSet< T >::SetIterator::iterator_category = std::forward_iterator_tag

Definition at line 188 of file disjointset.hpp.

◆ pointer

template<class T >
using jlm::util::DisjointSet< T >::SetIterator::pointer = const Set **

Definition at line 191 of file disjointset.hpp.

◆ reference

template<class T >
using jlm::util::DisjointSet< T >::SetIterator::reference = const Set *&

Definition at line 192 of file disjointset.hpp.

◆ value_type

template<class T >
using jlm::util::DisjointSet< T >::SetIterator::value_type = const Set *

Definition at line 189 of file disjointset.hpp.

Constructor & Destructor Documentation

◆ SetIterator()

template<class T >
jlm::util::DisjointSet< T >::SetIterator::SetIterator ( const typename std::unordered_set< const Set * >::const_iterator &  it)
inlineprivate

Definition at line 197 of file disjointset.hpp.

Member Function Documentation

◆ operator!=()

template<class T >
bool jlm::util::DisjointSet< T >::SetIterator::operator!= ( const SetIterator other) const
inline

Definition at line 237 of file disjointset.hpp.

◆ operator*()

template<class T >
const Set& jlm::util::DisjointSet< T >::SetIterator::operator* ( ) const
inline

Definition at line 203 of file disjointset.hpp.

◆ operator++() [1/2]

template<class T >
SetIterator& jlm::util::DisjointSet< T >::SetIterator::operator++ ( )
inline

Definition at line 216 of file disjointset.hpp.

◆ operator++() [2/2]

template<class T >
SetIterator jlm::util::DisjointSet< T >::SetIterator::operator++ ( int  )
inline

Definition at line 223 of file disjointset.hpp.

◆ operator->()

template<class T >
const Set* jlm::util::DisjointSet< T >::SetIterator::operator-> ( ) const
inline

Definition at line 210 of file disjointset.hpp.

◆ operator==()

template<class T >
bool jlm::util::DisjointSet< T >::SetIterator::operator== ( const SetIterator other) const
inline

Definition at line 231 of file disjointset.hpp.

Friends And Related Function Documentation

◆ DisjointSet

template<class T >
friend class DisjointSet
friend

Definition at line 195 of file disjointset.hpp.

Member Data Documentation

◆ it_

template<class T >
std::unordered_set<const Set *>::const_iterator jlm::util::DisjointSet< T >::SetIterator::it_
private

Definition at line 243 of file disjointset.hpp.


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