Ignore:
Timestamp:
10/02/01 14:46:56 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MParList.cc

    r905 r959  
    8181// --------------------------------------------------------------------------
    8282//
     83//  If the 'IsOwner' bit is set (via SetOwner()) all containers are deleted
     84//  by the destructor
     85//
     86MParList::~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//
     97inline void MParList::SetOwner(Bool_t enable=kTRUE)
     98{
     99    enable ? SetBit(kIsOwner) : ResetBit(kIsOwner);
     100}
     101
     102// --------------------------------------------------------------------------
     103//
    83104//  Set the logging streamer of the parameter list and all contained
    84105//  parameter containers
Note: See TracChangeset for help on using the changeset viewer.