vg
tools for working with variation graphs
|
#include <explainer.hpp>
Public Member Functions | |
Explainer () | |
Construct an Explainer that will save to one or more files. More... | |
virtual | ~Explainer () |
Close out the files being explained to. More... | |
Static Public Attributes | |
static bool | save_explanations = false |
Determine if explanations should be generated. More... | |
Protected Attributes | |
size_t | explanation_number |
What number explanation are we? Distinguishes different objects. More... | |
Static Protected Attributes | |
static std::atomic< size_t > | next_explanation_number {0} |
Counter used to give different explanations their own unique filenames. More... | |
Base explainer class. Handles making sure each explanation has a different unique number.
vg::Explainer::Explainer | ( | ) |
Construct an Explainer that will save to one or more files.
|
virtual |
Close out the files being explained to.
|
protected |
What number explanation are we? Distinguishes different objects.
|
staticprotected |
Counter used to give different explanations their own unique filenames.
|
static |
Determine if explanations should be generated.