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

Method HasChildWithId

src/StatTree.cpp:119–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117
118#ifndef CLIENT_GUI
119bool CStatTreeItemBase::HasChildWithId(uint32_t id)
120{
121 wxMutexLocker lock(m_lock);
122
123 for (std::list<CStatTreeItemBase*>::const_iterator it = m_children.begin();
124 it != m_children.end(); ++it) {
125 if ((*it)->m_id == id) {
126 return true;
127 }
128 }
129 return false;
130}
131
132CStatTreeItemBase* CStatTreeItemBase::GetChildById(uint32_t id)
133{

Callers 3

AddDownloadFromSoftMethod · 0.80
AddUploadToSoftMethod · 0.80
AddKnownClientMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected