vg
tools for working with variation graphs
|
#include <path_handle_graph.hpp>
Public Member Functions | |
iterator (const iterator &other)=default | |
iterator & | operator= (const iterator &other)=default |
iterator & | operator++ () |
handle_t | operator* () const |
bool | operator== (const iterator &other) const |
bool | operator!= (const iterator &other) const |
~iterator ()=default | |
Private Member Functions | |
iterator ()=delete | |
iterator (const step_handle_t &step, bool force_unequal, const PathHandleGraph *graph) | |
Private Attributes | |
step_handle_t | step |
the step that this iterator points to More... | |
bool | force_unequal |
const PathHandleGraph * | graph |
the graph that contains the path More... | |
Friends | |
class | PathForEachSocket |
Iterator object over path
|
default |
|
default |
|
privatedelete |
|
private |
bool handlegraph::PathForEachSocket::iterator::operator!= | ( | const iterator & | other | ) | const |
handle_t handlegraph::PathForEachSocket::iterator::operator* | ( | ) | const |
PathForEachSocket::iterator & handlegraph::PathForEachSocket::iterator::operator++ | ( | ) |
bool handlegraph::PathForEachSocket::iterator::operator== | ( | const iterator & | other | ) | const |
|
friend |
|
private |
a bit of an ugly hack we need to handle the fact that the first iteration of a circular path is also the place where we will end
|
private |
the graph that contains the path
|
private |
the step that this iterator points to