| 250 | } |
| 251 | |
| 252 | string GetReadableWheelchairType(TypesHolder const & types) |
| 253 | { |
| 254 | auto const value = ftraits::Wheelchair::GetValue(types); |
| 255 | if (!value.has_value()) |
| 256 | return ""; |
| 257 | |
| 258 | switch (*value) |
| 259 | { |
| 260 | case ftraits::WheelchairAvailability::No: return "wheelchair-no"; |
| 261 | case ftraits::WheelchairAvailability::Yes: return "wheelchair-yes"; |
| 262 | case ftraits::WheelchairAvailability::Limited: return "wheelchair-limited"; |
| 263 | } |
| 264 | UNREACHABLE(); |
| 265 | } |
| 266 | |
| 267 | std::optional<ftraits::WheelchairAvailability> GetWheelchairType(TypesHolder const & types) |
| 268 | { |
no test coverage detected