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

Method GetFeatureID

libs/indexer/feature_to_osm.cpp:147–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147bool FeatureIdToGeoObjectIdTwoWay::GetFeatureID(base::GeoObjectId const & id, FeatureID & fid)
148{
149 uint32_t index;
150 if (!m_map.GetKey(id, index))
151 return false;
152 fid = FeatureID(m_mwmId, index);
153 return true;
154}
155} // namespace indexer

Callers 15

UNIT_CLASS_TESTFunction · 0.45
ToJavaResultFunction · 0.45
operator()Method · 0.45
MatchesMethod · 0.45
UNIT_CLASS_TESTFunction · 0.45
FindResultFunction · 0.45
ForAnyMatchingEntryMethod · 0.45
MakeSampleMethod · 0.45
MatchResultsFunction · 0.45
ResultMatchesFunction · 0.45
UNIT_CLASS_TESTFunction · 0.45
UNIT_TESTFunction · 0.45

Calls 2

FeatureIDClass · 0.70
GetKeyMethod · 0.45

Tested by 7

UNIT_CLASS_TESTFunction · 0.36
UNIT_CLASS_TESTFunction · 0.36
MatchResultsFunction · 0.36
ResultMatchesFunction · 0.36
UNIT_CLASS_TESTFunction · 0.36
UNIT_TESTFunction · 0.36
UNIT_CLASS_TESTFunction · 0.36