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

#include <ArcIterator.hpp>

Inheritance diagram for graph_analysis::boost_graph::InOutArcIterator< T >:
Inheritance graph
[legend]
Collaboration diagram for graph_analysis::boost_graph::InOutArcIterator< T >:
Collaboration graph
[legend]

Public Member Functions

 InOutArcIterator (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
 
InArcIterator< T > mInArcIterator
 
OutArcIterator< T > mOutArcIterator
 

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

◆ InOutArcIterator()

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

Member Function Documentation

◆ next()

template<typename T >
bool graph_analysis::boost_graph::InOutArcIterator< 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::boost_graph::InOutArcIterator< T >::mGraph
protected

◆ mInArcIterator

template<typename T >
InArcIterator<T> graph_analysis::boost_graph::InOutArcIterator< T >::mInArcIterator
protected

◆ mOutArcIterator

template<typename T >
OutArcIterator<T> graph_analysis::boost_graph::InOutArcIterator< T >::mOutArcIterator
protected

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