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

Function createJSONAlias

apps/osvr_reset_yaw.cpp:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57using std::endl;
58
59inline std::string
60createJSONAlias(std::string const &path,
61 osvr::common::elements::AliasElement const &elt) {
62 return osvr::common::applyPriorityToAlias(
63 osvr::common::createJSONAlias(
64 path, osvr::common::jsonParse(elt.getSource())),
65 elt.priority())
66 .toStyledString();
67}
68
69boost::optional<osvr::common::elements::AliasElement>
70getAliasElement(osvr::clientkit::ClientContext &ctx, std::string const &path) {

Callers 1

mainFunction · 0.70

Calls 4

applyPriorityToAliasFunction · 0.85
jsonParseFunction · 0.85
priorityMethod · 0.80
getSourceMethod · 0.45

Tested by

no test coverage detected