MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / pathTreeToJson

Function pathTreeToJson

src/osvr/Common/PathTreeSerialization.cpp:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 } // namespace
91
92 Json::Value pathTreeToJson(PathTree const &tree, bool keepNulls) {
93 auto visitor = PathTreeToJsonVisitor{keepNulls};
94 tree.visitConstTree(visitor);
95 return visitor.getResult();
96 }
97
98 void jsonToPathTree(PathTree &tree, Json::Value nodes) {
99 for (auto const &node : nodes) {

Callers 4

mainFunction · 0.85
sendReplacementTreeMethod · 0.85
clonePathTreeFunction · 0.85
TESTFunction · 0.85

Calls 2

visitConstTreeMethod · 0.80
getResultMethod · 0.80

Tested by

no test coverage detected