Changeset 4766 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 08/27/04 16:57:55 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MArgs.cc
r4722 r4766 57 57 // fArgv: A TList containing all other command line arguments 58 58 // 59 MArgs::MArgs(int argc, char **argv) : fArgc(argc) 59 // If root==kFALSE all root commandline options are deleted from 60 // the list, namely: -b 61 // 62 MArgs::MArgs(int argc, char **argv, Bool_t root) : fArgc(argc) 60 63 { 61 64 // FIXME: argv has no const-qualifier to be idetical with … … 72 75 fArgv->Add(&o); 73 76 } 77 78 if (root) 79 return; 80 81 HasOnlyAndRemove("-b"); 74 82 } 75 83 … … 408 416 const TString name = n.Strip(TString::kBoth); 409 417 418 Bool_t rc = kFALSE; 419 410 420 TIter Next(fArgv); 411 421 TString *s = NULL; … … 414 424 { 415 425 delete fArgv->Remove(dynamic_cast<TObject*>(s)); 416 r eturnkTRUE;426 rc = kTRUE; 417 427 } 418 428 419 return kFALSE;420 } 429 return rc; 430 } -
trunk/MagicSoft/Mars/mbase/MArgs.h
r4722 r4766 27 27 28 28 public: 29 MArgs(int argc, char **argv );29 MArgs(int argc, char **argv, Bool_t root=kFALSE); 30 30 ~MArgs(); 31 31 -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r4588 r4766 1131 1131 void MStatusDisplay::Reset() 1132 1132 { 1133 if (gROOT->IsBatch()) 1134 { 1135 fBatch->Delete(); 1136 return; 1137 } 1138 1133 1139 for (int i=fTab->GetNumberOfTabs()-1; i>0; i--) 1134 1140 RemoveTab(i);
Note:
See TracChangeset
for help on using the changeset viewer.