MCPcopy Create free account
hub / github.com/comaps/comaps / operator()

Method operator()

libs/map/bookmark_manager.cpp:2769–2778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2767 {}
2768
2769 bool operator()(kml::MarkGroupId groupId)
2770 {
2771 auto const groupType = BookmarkManager::GetGroupType(groupId);
2772 if (auto const * p = m_manager->FindMarkInRect(groupId, m_rectHolder(groupType), m_findOnlyVisible(groupType), m_d))
2773 {
2774 m_mark = p;
2775 return true;
2776 }
2777 return false;
2778 }
2779
2780 UserMark const * GetFoundMark() const { return m_mark; }
2781

Callers

nothing calls this directly

Calls 1

FindMarkInRectMethod · 0.80

Tested by

no test coverage detected