MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / Clear

Method Clear

Libraries/TabbingFramework/TabbedMDISave.cpp:275–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275STDMETHODIMP CTabbedMDIChildModifiedList::Clear()
276{
277 POSITION pos = this->GetHeadPosition();
278 while(pos != NULL)
279 {
280 ATL::CComPtr<ITabbedMDIChildModifiedItem> item(this->GetNext(pos));
281 if(item)
282 {
283 item->putref_ParentList(NULL);
284 }
285 }
286
287 this->RemoveAll();
288 return S_OK;
289}
290
291STDMETHODIMP CTabbedMDIChildModifiedList::get_ParentItem(ITabbedMDIChildModifiedItem** item)
292{

Callers 2

FinalReleaseMethod · 0.95
CopyToMethod · 0.45

Calls 2

GetNextMethod · 0.80
putref_ParentListMethod · 0.80

Tested by

no test coverage detected