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

#include <NodeIterator.hpp>

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

Public Member Functions

 NodeIterator (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::VertexIterator
virtual ~VertexIterator ()
 
const Vertex::Ptr & current ()
 

Protected Attributes

const T & mGraph
 
T::graph_t::NodeIt mNodeIt
 

Additional Inherited Members

- Public Types inherited from graph_analysis::VertexIterator
typedef shared_ptr< VertexIterator > Ptr
 
typedef function1< bool, const Vertex::Ptr & > SkipFunction
 
- Protected Member Functions inherited from graph_analysis::VertexIterator
bool skip (const Vertex::Ptr &vertex) const
 
void setNext (const Vertex::Ptr &vertex)
 Set next vertex Should be applied by class implementing next() More...
 
void setSkipFunction (SkipFunction skipFunction)
 

Constructor & Destructor Documentation

◆ NodeIterator()

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

Member Function Documentation

◆ next()

template<typename T >
bool graph_analysis::lemon::NodeIterator< 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::VertexIterator.

Member Data Documentation

◆ mGraph

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

◆ mNodeIt

template<typename T >
T::graph_t::NodeIt graph_analysis::lemon::NodeIterator< T >::mNodeIt
protected

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