|
Honeycomb
0.1
Component-Model Framework
|
Depth-first pre-order iterator over vertices. More...
#include <Dep.h>
Public Types | |
| typedef std::forward_iterator_tag | iterator_category |
| typedef Vertex_ | value_type |
| typedef sdt | difference_type |
| typedef Vertex_ * | pointer |
| typedef Vertex_ & | reference |
Public Member Functions | |
| Iter_ () | |
| Iter_ (const DepGraph &graph, optional< const Key & > start, DepType type) | |
| Iter_ & | operator++ () |
| Iter_ | operator++ (int) |
| bool | operator== (const Iter_ &rhs) const |
| bool | operator!= (const Iter_ &rhs) const |
| reference | operator* () const |
| pointer | operator-> () const |
| void | reset (optional< const Key & > start=optnull, DepType type=DepType::out) |
| Reset iterator to begin at vertex in graph. More... | |
| void | skipEdges () |
| Skip the current vertex's edges on next step of this iterator. More... | |
Friends | |
| class | DepGraph |
| template<class Vertex > | |
| class | NodeIter_ |
Depth-first pre-order iterator over vertices.
Each iteration step visits a vertex which has a list of contained nodes.
The first iteration step returns the start vertex, then it moves along the dependency graph edges according to the DepType: out (depends on), or in (depended on by).
| typedef sdt honey::DepGraph< DepNode_ >::Iter_< Vertex_ >::difference_type |
| typedef std::forward_iterator_tag honey::DepGraph< DepNode_ >::Iter_< Vertex_ >::iterator_category |
| typedef Vertex_* honey::DepGraph< DepNode_ >::Iter_< Vertex_ >::pointer |
| typedef Vertex_& honey::DepGraph< DepNode_ >::Iter_< Vertex_ >::reference |
| typedef Vertex_ honey::DepGraph< DepNode_ >::Iter_< Vertex_ >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Reset iterator to begin at vertex in graph.
|
inline |
Skip the current vertex's edges on next step of this iterator.
|
friend |
1.8.10