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

Function GetBookmark

libs/map/map_tests/bookmarks_test.cpp:307–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307Bookmark const * GetBookmark(Framework & fm, m2::PointD const & pt)
308{
309 auto const * mark = GetMark(fm, pt);
310 ASSERT(mark, ());
311 ASSERT(mark->GetMarkType() == UserMark::BOOKMARK, ());
312 return dynamic_cast<Bookmark const *>(mark);
313}
314
315Bookmark const * GetBookmarkPxPoint(Framework & fm, m2::PointD const & pt)
316{

Callers 11

GetMarkMethod · 0.85
FilterInvalidDataMethod · 0.85
GetSortedCategoryMethod · 0.85
GetCategoryRectMethod · 0.85
GetBookmarksInfoMethod · 0.85
HasBookmarkMethod · 0.85
CollectBmGroupKMLDataMethod · 0.85
GetBookmarkPxPointFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 3

GetMarkFunction · 0.85
ASSERTFunction · 0.85
GetMarkTypeMethod · 0.45

Tested by

no test coverage detected