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

Method get

src/osvr/Util/AnyMap.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 boost::any AnyMap::get(std::string const &key) const {
55 Contents::const_iterator location = m_contents.find(key);
56 if (location == m_contents.end()) {
57 return boost::any();
58 }
59 return location->second;
60 }
61
62 boost::any AnyMap::get(const char *key) const {
63 return get(std::string(key));

Callers 15

mainFunction · 0.45
getOrientationStateFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
getAliasElementFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
osvrToStreamFunction · 0.45
getSerialDeviceListFunction · 0.45

Calls 3

getFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected