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

Method IsHighway

generator/osm2type.cpp:337–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335 uint32_t Get(CachedTypes::Type t) const { return m_types[static_cast<size_t>(t)]; }
336
337 bool IsHighway(uint32_t t) const
338 {
339 ftype::TruncValue(t, 1);
340 return t == Get(Highway);
341 }
342
343 bool IsTransporter(uint32_t t) const
344 {

Callers 1

PostprocessElementFunction · 0.80

Calls 2

TruncValueFunction · 0.85
GetFunction · 0.85

Tested by

no test coverage detected