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

Method AddIds

generator/gen_mwm_info.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void OsmID2FeatureID::AddIds(CompositeId const & osmId, uint32_t featureId)
39{
40 ASSERT(!base::IsExist(m_data, std::make_pair(osmId, featureId)), (osmId));
41 m_data.emplace_back(osmId, featureId);
42}
43
44std::vector<uint32_t> OsmID2FeatureID::GetFeatureIds(CompositeId const & id) const
45{

Callers 2

operator()Method · 0.80
UNIT_TESTFunction · 0.80

Calls 3

ASSERTFunction · 0.85
IsExistFunction · 0.85
emplace_backMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.64