| 483 | } |
| 484 | |
| 485 | std::string FileDataToString(FileData const & fd) |
| 486 | { |
| 487 | std::ostringstream out; |
| 488 | out << "[" |
| 489 | << "server_id:" << fd.m_serverId << ", " |
| 490 | << "category:" << CategoryDataToString(fd.m_categoryData) << ", " |
| 491 | << "bookmarks:" << VectorAdapter<BookmarkData>::ToString(fd.m_bookmarksData) << ", " |
| 492 | << "tracks:" << VectorAdapter<TrackData>::ToString(fd.m_tracksData) << ", " |
| 493 | << "compilations:" << VectorAdapter<CategoryData>::ToString(fd.m_compilationsData) << "]"; |
| 494 | return out.str(); |
| 495 | } |
| 496 | |
| 497 | struct TimestampConverter |
| 498 | { |
nothing calls this directly
no test coverage detected