Changeset 959 for trunk/MagicSoft/Mars/mbase/MParList.cc
- Timestamp:
- 10/02/01 14:46:56 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParList.cc
r905 r959 81 81 // -------------------------------------------------------------------------- 82 82 // 83 // If the 'IsOwner' bit is set (via SetOwner()) all containers are deleted 84 // by the destructor 85 // 86 MParList::~MParList() 87 { 88 if (TestBit(kIsOwner)) 89 fContainer.SetOwner(); 90 } 91 92 // -------------------------------------------------------------------------- 93 // 94 // If the 'IsOwner' bit is set (via SetOwner()) all containers are deleted 95 // by the destructor 96 // 97 inline void MParList::SetOwner(Bool_t enable=kTRUE) 98 { 99 enable ? SetBit(kIsOwner) : ResetBit(kIsOwner); 100 } 101 102 // -------------------------------------------------------------------------- 103 // 83 104 // Set the logging streamer of the parameter list and all contained 84 105 // parameter containers
Note:
See TracChangeset
for help on using the changeset viewer.