Changeset 8642 for trunk/MagicSoft/Mars/mbase/MParContainer.cc
- Timestamp:
- 07/18/07 20:30:13 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParContainer.cc
r8218 r8642 71 71 #include "MLogManip.h" 72 72 73 #include "MStatusDisplay.h" 74 73 75 TList *gListOfPrimitives; // forard declaration in MParContainer.h 74 76 … … 116 118 return; 117 119 118 *fLog << all << "Deleting " << GetDescriptor() << endl;120 *fLog << all << "Deleting " << this << " " << GetDescriptor() << endl; 119 121 if (TestBit(kMustCleanup) && gROOT && gROOT->MustClean()) 120 122 { … … 921 923 return ((TEnv&)env).GetValue(prefix, dflt); 922 924 } 925 926 // -------------------------------------------------------------------------- 927 // 928 // If object to remove is fDisplay set fDisplay to NULL. 929 // If object to remove is fLog set fLog to NULL. 930 // Call TObject::RecursiveRemove 931 // 932 void MParContainer::RecursiveRemove(TObject *obj) 933 { 934 if (obj==fDisplay) 935 fDisplay=NULL; 936 937 if (obj==fLog) 938 fLog=NULL; 939 940 if (fDisplay) 941 fDisplay->RecursiveRemove(obj); 942 943 if (fLog) 944 fLog->RecursiveRemove(obj); 945 946 TObject::RecursiveRemove(obj); 947 } 948
Note:
See TracChangeset
for help on using the changeset viewer.