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

Function HasAtm

tools/feature_list/feature_list.cpp:112–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112bool HasAtm(FeatureType & f)
113{
114 static uint32_t const atm = classif().GetTypeByPath({"amenity", "atm"});
115 bool result = false;
116 f.ForEachType([&result](uint32_t type)
117 {
118 if (type == atm)
119 result = true;
120 });
121 return result;
122}
123
124string BuildUniqueId(ms::LatLon const & coords, string const & name)
125{

Callers 1

ProcessMethod · 0.70

Calls 2

GetTypeByPathMethod · 0.80
ForEachTypeMethod · 0.45

Tested by

no test coverage detected