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

Method GetOrganic

libs/indexer/map_object.cpp:274–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274std::string MapObject::GetOrganic() const
275{
276 auto const & isOrganic = ftypes::IsOrganicChecker::Instance();
277
278 for (auto const type : m_types) {
279 if (isOrganic(type))
280 return localisation::TranslatedFeatureType(classif().GetReadableObjectName(type));
281 }
282
283 return {};
284}
285
286bool MapObject::IsPointType() const
287{

Callers

nothing calls this directly

Calls 2

TranslatedFeatureTypeFunction · 0.85
GetReadableObjectNameMethod · 0.80

Tested by

no test coverage detected