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

#include <ArcIterator.hpp>

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

Public Member Functions

 OutArcIterator (const T &graph, Vertex::Ptr vertex)
 
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::OutArcIt mOutArcIt
 

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

◆ OutArcIterator()

template<typename T>
graph_analysis::lemon::OutArcIterator< T >::OutArcIterator ( const T &  graph,
Vertex::Ptr  vertex 
)
inline

Member Function Documentation

◆ next()

template<typename T>
bool graph_analysis::lemon::OutArcIterator< 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

◆ mGraph

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

◆ mOutArcIt

template<typename T>
T::graph_t::OutArcIt graph_analysis::lemon::OutArcIterator< T >::mOutArcIt
protected

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