LLVM  8.0.1
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::bf_iterator< GraphT, SetType, GT > Class Template Reference

#include "llvm/ADT/BreadthFirstIterator.h"

Inheritance diagram for llvm::bf_iterator< GraphT, SetType, GT >:
Inheritance graph
[legend]
Collaboration diagram for llvm::bf_iterator< GraphT, SetType, GT >:
Collaboration graph
[legend]

Public Types

using pointer = typename super::pointer
 

Public Member Functions

bool operator== (const bf_iterator &RHS) const
 
bool operator!= (const bf_iterator &RHS) const
 
const NodeRef & operator* () const
 
NodeRef operator-> () const
 
bf_iteratoroperator++ ()
 
bf_iterator operator++ (int)
 
unsigned getLevel () const
 

Static Public Member Functions

static bf_iterator begin (const GraphT &G)
 
static bf_iterator end (const GraphT &G)
 

Additional Inherited Members

- Public Attributes inherited from llvm::bf_iterator_storage< SetType >
SetType Visited
 

Detailed Description

template<class GraphT, class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
class llvm::bf_iterator< GraphT, SetType, GT >

Definition at line 48 of file BreadthFirstIterator.h.

Member Typedef Documentation

◆ pointer

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
using llvm::bf_iterator< GraphT, SetType, GT >::pointer = typename super::pointer

Definition at line 111 of file BreadthFirstIterator.h.

Member Function Documentation

◆ begin()

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
static bf_iterator llvm::bf_iterator< GraphT, SetType, GT >::begin ( const GraphT &  G)
inlinestatic

Definition at line 114 of file BreadthFirstIterator.h.

Referenced by llvm::bf_begin().

◆ end()

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
static bf_iterator llvm::bf_iterator< GraphT, SetType, GT >::end ( const GraphT &  G)
inlinestatic

Definition at line 118 of file BreadthFirstIterator.h.

Referenced by llvm::bf_end().

◆ getLevel()

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
unsigned llvm::bf_iterator< GraphT, SetType, GT >::getLevel ( ) const
inline

Definition at line 144 of file BreadthFirstIterator.h.

◆ operator!=()

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
bool llvm::bf_iterator< GraphT, SetType, GT >::operator!= ( const bf_iterator< GraphT, SetType, GT > &  RHS) const
inline

Definition at line 124 of file BreadthFirstIterator.h.

◆ operator*()

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
const NodeRef& llvm::bf_iterator< GraphT, SetType, GT >::operator* ( ) const
inline

Definition at line 126 of file BreadthFirstIterator.h.

◆ operator++() [1/2]

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
bf_iterator& llvm::bf_iterator< GraphT, SetType, GT >::operator++ ( )
inline

Definition at line 133 of file BreadthFirstIterator.h.

◆ operator++() [2/2]

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
bf_iterator llvm::bf_iterator< GraphT, SetType, GT >::operator++ ( int  )
inline

Definition at line 138 of file BreadthFirstIterator.h.

◆ operator->()

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
NodeRef llvm::bf_iterator< GraphT, SetType, GT >::operator-> ( ) const
inline

Definition at line 131 of file BreadthFirstIterator.h.

◆ operator==()

template<class GraphT , class SetType = bf_iterator_default_set<typename GraphTraits<GraphT>::NodeRef>, class GT = GraphTraits<GraphT>>
bool llvm::bf_iterator< GraphT, SetType, GT >::operator== ( const bf_iterator< GraphT, SetType, GT > &  RHS) const
inline

Definition at line 120 of file BreadthFirstIterator.h.


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