MCPcopy Create free account
hub / github.com/comaps/comaps / GetKey

Method GetKey

libs/base/bidirectional_map.hpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 bool GetKey(V const & value, K & key) const
67 {
68 auto const it = m_vToK.find(value);
69 if (it == m_vToK.cend())
70 return false;
71 key = it->second;
72 return true;
73 }
74
75protected:
76 using Key = K;

Callers 4

GetFeatureIDMethod · 0.45
UNIT_TESTFunction · 0.45
AcceptMessageMethod · 0.45
AcceptMessageMethod · 0.45

Calls 2

findMethod · 0.45
cendMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.36