Changeset 918 for trunk/MagicSoft/Cosy/base
- Timestamp:
- 08/29/01 11:23:55 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/base/MGList.h
r909 r918 2 2 #define MGLIST_H 3 3 4 #ifdef DBG_MGLIST 4 5 #include <iostream.h> 6 #endif 5 7 6 8 #ifndef ROOT_TOrdCollection … … 13 15 ~MGList() 14 16 { 17 #ifdef DBG_MGLIST 15 18 cout << "Deleting:" << flush; 19 #endif 16 20 17 21 TIter Next(this); … … 20 24 while ((obj=Next())) 21 25 { 26 #ifdef DBG_MGLIST 22 27 cout << " <" << ((TGObject*)obj)->GetName() << ">" << flush; 28 #endif 23 29 delete (TGObject*)obj; 24 30 } 31 #ifdef DBG_MGLIST 25 32 cout << endl; 33 #endif 26 34 } 27 35 void Add(TGObject *obj)
Note:
See TracChangeset
for help on using the changeset viewer.