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

Method ParseParams

generator/feature_maker.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void FeatureMakerSimple::ParseParams(FeatureBuilderParams & params, OsmElement & p) const
24{
25 auto const & cl = classif();
26 ftype::GetNameAndType(&p, params, [&cl](uint32_t type) { return cl.IsTypeValid(type); },
27 [this](OsmElement const * p) { return GetOrigin(*p); });
28}
29
30std::optional<m2::PointD> FeatureMakerSimple::ReadNode(uint64_t id) const
31{

Callers

nothing calls this directly

Calls 2

GetNameAndTypeFunction · 0.85
IsTypeValidMethod · 0.80

Tested by

no test coverage detected