MCPcopy Create free account
hub / github.com/KLayout/klayout / print_tree

Function print_tree

src/db/unit_tests/dbBoxTreeTests.cc:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80template <class Tree>
81void print_tree (const Tree &t, db::Box bbox)
82{
83 std::cout << "size = " << t.size () << "\n";
84 print_tree_node (&t, bbox, 0, t.root (), "> ");
85}
86
87template <class Box, class Tree>
88void print_unstable_tree_node (const Tree *tree, const Box &bbox, size_t pos, db::box_tree_node<Tree> *node, const std::string &in)

Callers

nothing calls this directly

Calls 3

print_tree_nodeFunction · 0.85
sizeMethod · 0.45
rootMethod · 0.45

Tested by

no test coverage detected