| 24 | namespace |
| 25 | { |
| 26 | bool ParseMaxspeedAndWriteToStream(std::string const & maxspeed, routing::SpeedInUnits & speed, std::ostringstream & ss) |
| 27 | { |
| 28 | if (maxspeed.empty() || !ParseMaxspeedTag(maxspeed, speed)) |
| 29 | return false; |
| 30 | |
| 31 | ss << UnitsToString(speed.GetUnits()) << "," << strings::to_string(speed.GetSpeed()); |
| 32 | return true; |
| 33 | } |
| 34 | } // namespace |
| 35 | |
| 36 | MaxspeedsCollector::MaxspeedsCollector(std::string const & filename) : CollectorInterface(filename) |
no test coverage detected