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

Method FindAt

Source/BookmarkCollection.cpp:127–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127CBookmark *CBookmarkCollection::FindAt(unsigned Frame, unsigned Row) const
128{
129 const CBookmark tmp(Frame, Row);
130 auto it = std::find_if(m_pBookmark.begin(), m_pBookmark.end(), [&] (const std::unique_ptr<CBookmark> &a) {
131 return *a == tmp;
132 });
133 return it == m_pBookmark.end() ? nullptr : it->get();
134}
135
136void CBookmarkCollection::RemoveAt(unsigned Frame, unsigned Row)
137{

Callers 3

DrawRowMethod · 0.80
OnBookmarksToggleMethod · 0.80
OnUpdateRowMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected