vg
tools for working with variation graphs
|
#include <scanner.hpp>
Static Public Member Functions | |
static bool | scan (const Message &msg, const function< bool(const Position &)> &iteratee) |
We define a PositionScanner which scans over all Position objects and node IDs, wrapped as Positions, in a tree of VG Protobuf objects. Will only emit the empty Position if a Graph or Path contains no nonzero node IDs.
|
static |
Scan over the node IDs in this message and all its children. Returns false if an iteratee returned false and asked to stop.