MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / indexOf

Method indexOf

src/plugins/debugger/interface/localtreeitem.cpp:159–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159int LocalTreeItem::indexOf(const LocalTreeItem *item) const
160{
161 auto it = std::find(begin(), end(), item);
162 return it == end() ? -1 : static_cast<int>(it - begin());
163}
164
165QModelIndex LocalTreeItem::index() const
166{

Callers 2

indexForItemMethod · 0.45
rowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected