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

Method IsThereSearchMarkForFeature

libs/map/search_mark.cpp:564–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564bool SearchMarks::IsThereSearchMarkForFeature(FeatureID const & featureId) const
565{
566 for (auto const markId : m_bmManager->GetUserMarkIds(UserMark::Type::SEARCH))
567 if (m_bmManager->GetUserMark(markId)->GetFeatureID() == featureId)
568 return true;
569 return false;
570}
571
572void SearchMarks::OnActivate(FeatureID const & featureId)
573{

Callers 1

Calls 2

GetUserMarkMethod · 0.80
GetFeatureIDMethod · 0.45

Tested by

no test coverage detected