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

Method GetBookmark

libs/map/bookmark_manager.cpp:359–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359Bookmark const * BookmarkManager::GetBookmark(kml::MarkId markId) const
360{
361 CHECK_THREAD_CHECKER(m_threadChecker, ());
362 auto it = m_bookmarks.find(markId);
363 return (it != m_bookmarks.end()) ? it->second.get() : nullptr;
364}
365
366Bookmark * BookmarkManager::GetBookmarkForEdit(kml::MarkId markId)
367{

Callers 8

getBookmarkFunction · 0.80
FillTreeMethod · 0.80
ShowBookmarkMethod · 0.80
BuildPlacePageInfoMethod · 0.80
CheckBookmarksFunction · 0.80
UNIT_TESTFunction · 0.80
UNIT_CLASS_TESTFunction · 0.80

Calls 3

getMethod · 0.65
findMethod · 0.45
endMethod · 0.45

Tested by 3

CheckBookmarksFunction · 0.64
UNIT_TESTFunction · 0.64
UNIT_CLASS_TESTFunction · 0.64