MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetBookmarkIndex

Method GetBookmarkIndex

Source/BookmarkCollection.cpp:118–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118int CBookmarkCollection::GetBookmarkIndex(const CBookmark *pMark) const
119{
120 if (unsigned Count = GetCount())
121 for (size_t i = 0; i < Count; ++i)
122 if (m_pBookmark[i].get() == pMark)
123 return i;
124 return -1;
125}
126
127CBookmark *CBookmarkCollection::FindAt(unsigned Frame, unsigned Row) const
128{

Callers 4

OnBookmarksNextMethod · 0.80
OnBookmarksPreviousMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected