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

Function jsonToPathTree

src/osvr/Common/PathTreeSerialization.cpp:98–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 void jsonToPathTree(PathTree &tree, Json::Value nodes) {
99 for (auto const &node : nodes) {
100 elements::PathElement elt = jsonToPathElement(node);
101 tree.getNodeByPath(node["path"].asString()).value() = elt;
102 }
103 }
104} // namespace common
105} // namespace osvr

Callers 3

clonePathTreeFunction · 0.85
replaceTreeMethod · 0.85
TESTFunction · 0.85

Calls 2

jsonToPathElementFunction · 0.85
valueMethod · 0.80

Tested by

no test coverage detected