Jlm
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
jlm::util::DisjointSet< T >::MemberIterator Class Referencefinal
Collaboration diagram for jlm::util::DisjointSet< T >::MemberIterator:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

reference operator* () const
 
pointer operator-> () const
 
MemberIteratoroperator++ ()
 
MemberIterator operator++ (int)
 
bool operator== (const MemberIterator &other) const
 
bool operator!= (const MemberIterator &other) const
 

Private Member Functions

 MemberIterator (const Set *node)
 

Private Attributes

const Setnode_
 

Friends

class DisjointSet::Set
 

Detailed Description

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

Definition at line 26 of file disjointset.hpp.

Member Typedef Documentation

◆ difference_type

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

Definition at line 31 of file disjointset.hpp.

◆ iterator_category

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

Definition at line 29 of file disjointset.hpp.

◆ pointer

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

Definition at line 32 of file disjointset.hpp.

◆ reference

template<class T >
using jlm::util::DisjointSet< T >::MemberIterator::reference = const T &

Definition at line 33 of file disjointset.hpp.

◆ value_type

template<class T >
using jlm::util::DisjointSet< T >::MemberIterator::value_type = const T

Definition at line 30 of file disjointset.hpp.

Constructor & Destructor Documentation

◆ MemberIterator()

template<class T >
jlm::util::DisjointSet< T >::MemberIterator::MemberIterator ( const Set node)
inlineexplicitprivate

Definition at line 38 of file disjointset.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 80 of file disjointset.hpp.

◆ operator*()

template<class T >
reference jlm::util::DisjointSet< T >::MemberIterator::operator* ( ) const
inline

Definition at line 44 of file disjointset.hpp.

◆ operator++() [1/2]

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

Definition at line 57 of file disjointset.hpp.

◆ operator++() [2/2]

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

Definition at line 66 of file disjointset.hpp.

◆ operator->()

template<class T >
pointer jlm::util::DisjointSet< T >::MemberIterator::operator-> ( ) const
inline

Definition at line 51 of file disjointset.hpp.

◆ operator==()

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

Definition at line 74 of file disjointset.hpp.

Friends And Related Function Documentation

◆ DisjointSet::Set

template<class T >
friend class DisjointSet::Set
friend

Definition at line 36 of file disjointset.hpp.

Member Data Documentation

◆ node_

template<class T >
const Set* jlm::util::DisjointSet< T >::MemberIterator::node_
private

Definition at line 86 of file disjointset.hpp.


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