graph_analysis
Public Member Functions | Protected Attributes | List of all members
graph_analysis::lemon::ArcIterator< T > Class Template Reference

#include <ArcIterator.hpp>

Inheritance diagram for graph_analysis::lemon::ArcIterator< T >:
Inheritance graph
[legend]
Collaboration diagram for graph_analysis::lemon::ArcIterator< T >:
Collaboration graph
[legend]

Public Member Functions

 ArcIterator (const T &graph)
 
bool next ()
 Test if there is a next item and if it is then updates the current to next. More...
 
- Public Member Functions inherited from graph_analysis::EdgeIterator
virtual ~EdgeIterator ()
 
const Edge::Ptr & current ()
 

Protected Attributes

const T & mGraph
 
T::graph_t::ArcIt mArcIt
 

Additional Inherited Members

- Public Types inherited from graph_analysis::EdgeIterator
typedef shared_ptr< EdgeIterator > Ptr
 
typedef function1< bool, const Edge::Ptr & > SkipFunction
 
- Protected Member Functions inherited from graph_analysis::EdgeIterator
bool skip (const Edge::Ptr &edge) const
 Check if edge should be skipped. More...
 
void setNext (const Edge::Ptr &edge)
 Set next edge Should be applied by class implementing next() More...
 
void setSkipFunction (SkipFunction skipFunction)
 

Constructor & Destructor Documentation

◆ ArcIterator()

template<typename T >
graph_analysis::lemon::ArcIterator< T >::ArcIterator ( const T &  graph)
inline

Member Function Documentation

◆ next()

template<typename T >
bool graph_analysis::lemon::ArcIterator< T >::next ( )
inlinevirtual

Test if there is a next item and if it is then updates the current to next.

Exceptions
std::runtime_errorif not implemented by subclass

Reimplemented from graph_analysis::EdgeIterator.

Member Data Documentation

◆ mArcIt

template<typename T >
T::graph_t::ArcIt graph_analysis::lemon::ArcIterator< T >::mArcIt
protected

◆ mGraph

template<typename T >
const T& graph_analysis::lemon::ArcIterator< T >::mGraph
protected

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