Changeset 5911 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 01/20/05 14:27:59 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r5836 r5911 972 972 fLog->ReadEnv(env, prefix, print); 973 973 974 if (!fParList) 975 { 976 *fLog << warn << "WARNING - No parameter list to propagate resources to." << endl; 977 return kTRUE; 978 } 979 974 980 if (fParList->ReadEnv(env, prefix, print)==kERROR) 975 981 { … … 986 992 // If 'config=0' kTRUE is returned. 987 993 // 988 Bool_t MEvtLoop::ReadEnv(const char *config )994 Bool_t MEvtLoop::ReadEnv(const char *config, Bool_t print) 989 995 { 990 996 if (!config) … … 998 1004 } 999 1005 1000 return ReadEnv(TEnv(config) );1006 return ReadEnv(TEnv(config), "", print); 1001 1007 } 1002 1008 … … 1033 1039 *fLog << inf << "Writing resources: " << prefix /*TEnv::fRcName << " to " << env.GetRcName()*/ << endl; 1034 1040 1041 fLog->WriteEnv(env, prefix, print); 1042 1043 if (!fParList) 1044 { 1045 *fLog << warn << "WARNING - No parameter list to get resources from." << endl; 1046 return kTRUE; 1047 } 1048 1049 1035 1050 if (fParList->WriteEnv(env, prefix, print)!=kTRUE) 1036 1051 { … … 1038 1053 return kFALSE; 1039 1054 } 1040 1041 fLog->WriteEnv(env, prefix, print);1042 1055 1043 1056 return kTRUE; -
trunk/MagicSoft/Mars/mbase/MEvtLoop.h
r5832 r5911 85 85 Bool_t WriteEnv(TEnv &env, TString prefix="", Bool_t print=kFALSE) const; 86 86 87 Bool_t ReadEnv(const char *config );87 Bool_t ReadEnv(const char *config, Bool_t print=kFALSE); 88 88 89 89 void RecursiveRemove(TObject *obj); -
trunk/MagicSoft/Mars/mbase/MParList.cc
r4828 r5911 911 911 { 912 912 if (print) 913 *fLog << all << "MParList::ReadEnv: " << prefix << " (" << (int)print << ")" <<endl;913 *fLog << all << "MParList::ReadEnv: " << prefix << endl; 914 914 915 915 MParContainer *cont = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.