MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / showSubtrees

Function showSubtrees

cp-profiler/src/cpprofiler/tree/traditional_view.cpp:638–644  ·  view source on GitHub ↗

Show specified subtrees and hide everyting else

Source from the content-addressed store, hash-verified

636
637/// Show specified subtrees and hide everyting else
638static void showSubtrees(const NodeTree &tree, VisualFlags &vf, LayoutComputer &lc)
639{
640 auto root = tree.getRoot();
641
642 HideNotHighlightedCursor hnhc(root, tree, vf, lc);
643 PostorderNodeVisitor<HideNotHighlightedCursor>(hnhc).run();
644}
645
646class TreeHighlighter : public QThread
647{

Callers

nothing calls this directly

Calls 2

getRootMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected