Re: [ROOT] Where is the code of TCollection::Delete()?

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Aug 28 2001 - 16:32:00 MEST


Hi Thomas,

  ths collections in TSystem are TOrdCOllection. See TOrdCollection::Delete.

Cheers, Fons.


Thomas Bretz wrote:
> 
> Hi,
> 
> from the html documentation of TCollection:
> // user is 100% sure nothing else is referencing the objects in the
> //
> // collection, one can delete all objects and the collection at the
> //
> // same time using the Delete() function.
> //
> 
> I tried to find the code for TCollection::Delete(), but I couldn't find
> it. I only found the abstract method TCollection::Delete(Option_t*)=0.
> What is called (for example) in TSystem::~TSystem() when all the
> TSeqCollection members of TSystem are destructed using
> TSeqCollection::Delete()
> 
> Best regards,
> Thomas.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET