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

Method GetValue

libs/base/bidirectional_map.hpp:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 bool GetValue(K const & key, V & value) const
58 {
59 auto const it = m_kToV.find(key);
60 if (it == m_kToV.cend())
61 return false;
62 value = it->second;
63 return true;
64 }
65
66 bool GetKey(V const & value, K & key) const
67 {

Callers 4

UNIT_TESTFunction · 0.45
FifoCacheTestClass · 0.45
UNIT_TESTFunction · 0.45
UNIT_TESTFunction · 0.45

Calls 2

findMethod · 0.45
cendMethod · 0.45

Tested by 3

UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_TESTFunction · 0.36