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

Function ToString

libs/map/bookmark_manager.cpp:215–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215std::string ToString(BookmarkManager::SortingType type)
216{
217 switch (type)
218 {
219 case BookmarkManager::SortingType::ByTime: return "ByTime";
220 case BookmarkManager::SortingType::ByType: return "ByType";
221 case BookmarkManager::SortingType::ByDistance: return "ByDistance";
222 case BookmarkManager::SortingType::ByName: return "ByName";
223 }
224 UNREACHABLE();
225}
226
227bool GetSortingType(std::string const & typeStr, BookmarkManager::SortingType & type)
228{

Callers 4

SetLastUsedRouterMethod · 0.70
GetSortingTypeFunction · 0.70
SetLastSortingTypeMethod · 0.70
ParseGeoNavMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected