Changeset 5715 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 01/07/05 12:58:11 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MLog.h
r4722 r5715 190 190 void WriteEnv(TEnv &env, TString prefix="", Bool_t print=kFALSE) const; 191 191 192 voidSeparator(TString str="", int outlvl=0)192 MLog &Separator(TString str="", int outlvl=0) 193 193 { 194 194 if (!str.IsNull()) … … 207 207 (*this) << str << std::endl; 208 208 fOutputLevel = save; 209 210 return *this; 209 211 } 210 212 -
trunk/MagicSoft/Mars/mbase/MPrint.cc
r3142 r5715 65 65 { 66 66 Init(0, 0); 67 SetBit(kSep erator);67 SetBit(kSeparator); 68 68 } 69 69 … … 118 118 // The pointer is already given by the user. 119 119 // 120 if (fObject || TestBit(kSep erator))120 if (fObject || TestBit(kSeparator)) 121 121 return kTRUE; 122 122 … … 149 149 Int_t MPrint::Process() 150 150 { 151 if (TestBit(kSep erator))152 gLog << endl << setfill('-') << setw(72) << "-" << endl<< endl;151 if (TestBit(kSeparator)) 152 gLog.Separator() << endl; 153 153 else 154 154 fObject->Print(fOption); -
trunk/MagicSoft/Mars/mbase/MPrint.h
r2580 r5715 15 15 TString fOption; // Print option 16 16 17 enum { kSkip = BIT(14), kSep erator = BIT(15) };17 enum { kSkip = BIT(14), kSeparator = BIT(15) }; 18 18 19 19 void Init(const char *name, const char *title);
Note:
See TracChangeset
for help on using the changeset viewer.