MCPcopy Create free account
hub / github.com/amule-project/amule / GetNextVisibleChild

Method GetNextVisibleChild

src/StatTree.cpp:154–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void CStatTreeItemBase::GetNextVisibleChild(StatTreeItemIterator& it)
155{
156 if (m_flags & stCapChildren) {
157 if (m_visible_counter == 0) {
158 it = m_children.end();
159 return;
160 } else {
161 --m_visible_counter;
162 }
163 }
164 if (it != m_children.end()) ++it;
165 while (it != m_children.end() && !(*it)->IsVisible()) ++it;
166}
167
168//
169// Anything below is only for core.

Callers 1

FillTreeMethod · 0.45

Calls 2

endMethod · 0.45
IsVisibleMethod · 0.45

Tested by

no test coverage detected