vg
tools for working with variation graphs
|
#include <explainer.hpp>
Public Member Functions | |
DotDumpExplainer (bool enabled, const T &to_dump) | |
Construct a DotDumpExplainer that will save a diagram to a file. More... | |
![]() | |
Explainer (bool enabled) | |
Construct an Explainer that will save to one or more files. More... | |
virtual | ~Explainer () |
Close out the files being explained to. More... | |
operator bool () const | |
Additional Inherited Members | |
![]() | |
static bool | save_explanations = false |
Determine if explanations should be generated. More... | |
![]() | |
bool | explaining () const |
Function to check if we should be explaining. More... | |
![]() | |
size_t | explanation_number |
What number explanation are we? Distinguishes different objects. More... | |
bool | enabled |
Determines if this explainer should generate explanations. More... | |
![]() | |
static std::atomic< size_t > | next_explanation_number {0} |
Counter used to give different explanations their own unique filenames. More... | |
Explainer that can dump anything that has a: void to_dot(ostream& out) const; method, such as a Funnel.
vg::DotDumpExplainer< T >::DotDumpExplainer | ( | bool | enabled, |
const T & | to_dump | ||
) |
Construct a DotDumpExplainer that will save a diagram to a file.