vg
tools for working with variation graphs
|
#include <scanner.hpp>
Static Public Member Functions | |
static bool | scan (const Message &msg, const function< bool(const id_t &)> &iteratee) |
We define an IDScanner which scans over all node ID references in a tree of VG Protobuf objects. May emit the same ID multiple times. Will only emit the 0 node ID 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.