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

Function MakeCompositeId

generator/gen_mwm_info.cpp:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace generator
4{
5CompositeId MakeCompositeId(feature::FeatureBuilder const & fb)
6{
7 CHECK(fb.HasOsmIds(), (fb));
8 return CompositeId(fb.GetMostGenericOsmId(), fb.GetFirstOsmId());
9}
10
11// static
12uint32_t const OsmID2FeatureID::kHeaderMagic;

Callers 4

HierarchyPlaceMethod · 0.85
operator()Method · 0.85
CollectFeatureMethod · 0.85
TestCollectorFunction · 0.85

Calls 4

CompositeIdClass · 0.85
HasOsmIdsMethod · 0.80
GetMostGenericOsmIdMethod · 0.80
GetFirstOsmIdMethod · 0.80

Tested by 1

TestCollectorFunction · 0.68