Changeset 6500 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 02/15/05 18:44:43 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParContainer.cc
r6253 r6500 80 80 using namespace std; 81 81 82 TObjArray MParContainer::fgListMethodCall; 83 82 84 MParContainer::MParContainer(const char *name, const char *title) : 83 85 fName(name), fTitle(title), fLog(&gLog), fDisplay(NULL), fReadyToSave(kFALSE) 84 86 { 87 fgListMethodCall.SetOwner(); 85 88 } 86 89 … … 88 91 fName(name), fTitle(title), fLog(&gLog), fDisplay(NULL), fReadyToSave(kFALSE) 89 92 { 93 fgListMethodCall.SetOwner(); 90 94 } 91 95 … … 630 634 } 631 635 632 *fLog << warn<< "No standard access for '" << part1 << "' in ";636 *fLog << inf << "No standard access for '" << part1 << "' in "; 633 637 *fLog << GetDescriptor() << " or one of its base classes." << endl; 634 638 635 639 TMethodCall *call = NULL; 636 640 637 *fLog << warn <<"Trying to find MethodCall '" << ClassName();638 *fLog << "::Get" << part1 << "' instead <LEAKS MEMORY>" << endl;641 *fLog << "Trying to find MethodCall '" << ClassName(); 642 *fLog << "::Get" << part1 << "' instead..." << flush; 639 643 call = new TMethodCall(IsA(), (TString)"Get"+part1, ""); 640 644 if (call->GetMethod()) 645 { 646 fgListMethodCall.Add(call); 647 *fLog << "found." << endl; 641 648 return call; 649 } 650 *fLog << endl; 642 651 643 652 delete call; 644 653 645 *fLog << warn <<"Trying to find MethodCall '" << ClassName();646 *fLog << "::" << part1 << "' instead <LEAKS MEMORY>" << endl;654 *fLog << "Trying to find MethodCall '" << ClassName(); 655 *fLog << "::" << part1 << "' instead..." << flush; 647 656 call = new TMethodCall(IsA(), part1, ""); 648 657 if (call->GetMethod()) 658 { 659 fgListMethodCall.Add(call); 660 *fLog << "found." << endl; 649 661 return call; 662 } 663 *fLog << endl; 650 664 651 665 delete call; -
trunk/MagicSoft/Mars/mbase/MParContainer.h
r5994 r6500 34 34 class MParContainer : public TObject 35 35 { 36 private: 37 static TObjArray fgListMethodCall; //! 38 36 39 protected: 37 40 TString fName; // parameter container identifier (name) -
trunk/MagicSoft/Mars/mbase/MTask.cc
r5875 r6500 428 428 else 429 429 *fLog << " "; 430 431 if (HasStreamId()) 432 *fLog << GetStreamId() << ":"; 430 433 *fLog << GetDescriptor() << "\t"; 431 434 *fLog << dec << GetNumExecutions();
Note:
See TracChangeset
for help on using the changeset viewer.