| 52 | using namespace pdal; |
| 53 | |
| 54 | void printChildren(std::ostream& out, MetadataNode m, int depth = 0) |
| 55 | { |
| 56 | std::vector<MetadataNode> children = m.children(); |
| 57 | for (auto mi = children.begin(); mi != children.end(); ++mi) |
| 58 | { |
| 59 | MetadataNode& c = *mi; |
| 60 | for (int i = 0; i < depth; i++) |
| 61 | out << "\t"; |
| 62 | out << c.name() << " : " << c.value() << "\n"; |
| 63 | printChildren(out, c, depth + 1); |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | TEST(HexbinFilterTest, HexbinFilterTest_test_1) |
| 68 | { |