Re: [ROOT] does TCAnvas delete ist objects ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Oct 12 2001 - 08:57:07 MEST


Hi Joe,

Please read the Chapter about "Object Ownership" in the Users Guide
at pages 101,102,103,104,105.
You can get a copy of the guide at:

http://root.cern.ch/root/RootDoc.html

Rene Brun

joe robe wrote:
> 
> hi rooters,
> 
> If i create histograms on the heap and place them in a
> TCAnvas they disappear if I delete the Object.
> 
> So question now is, do I need to delete all
> Histograms, graphs etc. before deleteing TCanvas or
> does Canvas Maintain a list of its objects and delets
> them in the destructor ??
> 
> Joe
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com



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