MCPcopy Create free account
hub / github.com/comaps/comaps / operator()

Method operator()

libs/search/model.cpp:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 DECLARE_CHECKER_INSTANCE(CustomIsBuildingChecker);
65
66 bool operator()(FeatureType & ft) const
67 {
68 if (!ft.GetHouseNumber().empty())
69 return true;
70
71 if (ft.GetGeomType() == feature::GeomType::Line)
72 return IsAddressInterpolChecker::Instance()(ft);
73 else
74 return IsBuildingChecker::Instance()(ft);
75 }
76};
77} // namespace
78

Callers

nothing calls this directly

Calls 3

GetHouseNumberMethod · 0.80
emptyMethod · 0.45
GetGeomTypeMethod · 0.45

Tested by

no test coverage detected