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

Method IsSubwayStation

generator/osm2type.cpp:351–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349 bool IsRailwayStation(uint32_t t) const { return t == Get(RailwayStation); }
350
351 bool IsSubwayStation(uint32_t t) const
352 {
353 ftype::TruncValue(t, 3);
354 return t == Get(SubwayStation);
355 }
356
357private:
358 buffer_vector<uint32_t, static_cast<size_t>(Count)> m_types;

Callers 1

PostprocessElementFunction · 0.80

Calls 2

TruncValueFunction · 0.85
GetFunction · 0.85

Tested by

no test coverage detected