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

Function resolveTreeNodeImpl

src/osvr/Common/ResolveTreeNode.cpp:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 };
136
137 inline void resolveTreeNodeImpl(PathTree &pathTree, std::string const &path,
138 OriginalSource &source) {
139 auto &node = pathTree.getNodeByPath(path);
140
141 // First do any inference possible here.
142 ifNullTryInferFromParent(node);
143
144 // Now visit.
145 TreeResolutionVisitor visitor(pathTree, node, source);
146 boost::apply_visitor(visitor, node.value());
147 }
148
149 boost::optional<OriginalSource> resolveTreeNode(PathTree &pathTree,
150 std::string const &path) {

Callers 2

m_recurseMethod · 0.85
resolveTreeNodeFunction · 0.85

Calls 2

ifNullTryInferFromParentFunction · 0.85
valueMethod · 0.80

Tested by

no test coverage detected