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

Method m_addAlias

src/osvr/Server/ServerImpl.cpp:318–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316 }
317
318 bool ServerImpl::m_addAlias(std::string const &path,
319 std::string const &source,
320 common::AliasPriority priority) {
321 /// @todo Handle this one with AliasProcessor.
322 auto &node = m_tree.getNodeByPath(path);
323 bool change = common::addAlias(node, source, priority);
324 m_treeDirty += change;
325 return change;
326 }
327
328 bool ServerImpl::m_addAliases(Json::Value const &aliases,
329 common::AliasPriority priority) {

Callers

nothing calls this directly

Calls 1

addAliasFunction · 0.85

Tested by

no test coverage detected