| 428 | } |
| 429 | |
| 430 | std::string TrackDataToString(TrackData const & t) |
| 431 | { |
| 432 | std::ostringstream out; |
| 433 | out << "[" |
| 434 | << "local_id:" << static_cast<uint32_t>(t.m_localId) << ", " |
| 435 | << "name:" << LocalizableStringAdapter::ToString(t.m_name) << ", " |
| 436 | << "description:" << LocalizableStringAdapter::ToString(t.m_description) << ", " |
| 437 | << "timestamp:" << DebugPrint(t.m_timestamp) << ", " |
| 438 | << "layers:" << VectorAdapter<TrackLayer>::ToString(t.m_layers) << ", " |
| 439 | << "points_with_altitudes:" << VectorAdapter<geometry::PointWithAltitude>::ToString(t.m_pointsWithAltitudes) |
| 440 | << ", " |
| 441 | << "visible:" << (t.m_visible ? "True" : "False") << ", " |
| 442 | << "nearest_toponyms:" << VectorAdapter<std::string>::ToString(t.m_nearestToponyms) << ", " |
| 443 | << "properties:" << PropertiesAdapter::ToString(t.m_properties) << "]"; |
| 444 | return out.str(); |
| 445 | } |
| 446 | |
| 447 | std::string LanguagesListToString(std::vector<int8_t> const & langs) |
| 448 | { |
no test coverage detected