Ignore:
Timestamp:
11/15/01 11:07:21 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1076 r1080  
    1616!
    1717!
    18 !   Author(s): Thomas Bretz  12/2000 (tbretz@uni-sw.gwdg.de)
     18!   Author(s): Thomas Bretz  12/2000 <mailto:tbretz@uni-sw.gwdg.de>
    1919!
    2020!   Copyright: MAGIC Software Development, 2000-2001
     
    4242
    4343#include "MLog.h"
     44#include "MLogManip.h"
    4445
    4546ClassImp(MParContainer);
     
    137138{
    138139    TROOT::IndentLevel();
    139     *fLog <<"OBJ: " << GetDescriptor() << ": " << GetTitle() << ", "
    140         << Int_t(TestBit(kCanDelete)) << endl;
     140    *fLog << all << GetDescriptor() << " " << GetTitle() << ": kCanDelete=";
     141    *fLog << Int_t(TestBit(kCanDelete)) << endl;
    141142}
    142143
     
    147148void MParContainer::Print(Option_t *) const
    148149{
    149     *fLog <<"OBJ: " << GetDescriptor() << ": " << GetTitle() << endl;
     150    *fLog << all << GetDescriptor() << " " << GetTitle() << endl;
    150151}
    151152
     
    196197}
    197198
     199// --------------------------------------------------------------------------
     200//
     201//  If you want to use Ascii-Input/-Output (eg. MWriteAsciiFile) of a
     202//  container, overload this function.
     203//
    198204void MParContainer::AsciiRead(ifstream &fin)
    199205{
    200     *fLog << "To use the the ascii input of " << GetName();
     206    *fLog << warn << "To use the the ascii input of " << GetName();
    201207    *fLog << " you have to overload " << ClassName() << "::AsciiRead." << endl;
    202208}
    203209
     210// --------------------------------------------------------------------------
     211//
     212//  If you want to use Ascii-Input/-Output (eg. MWriteAsciiFile) of a
     213//  container, overload this function.
     214//
    204215void MParContainer::AsciiWrite(ofstream &fout) const
    205216{
    206     *fLog << "To use the the ascii output of " << GetName();
     217    *fLog << warn << "To use the the ascii output of " << GetName();
    207218    *fLog << " you have to overload " << ClassName() << "::AsciiWrite." << endl;
    208219}
Note: See TracChangeset for help on using the changeset viewer.