Public Member Functions | |
| TGo4Prefs (const char *hostname) | |
| void | AddFile (const char *fname, bool errorout=false) |
| bool | IsOk () const |
| void | SetPar (const char *name, const char *value, bool force=true) |
| const char * | GetPar (const char *name) |
| bool | HasPar (const char *name) |
| void | ReplacePars (std::string &str) |
| void | ReplaceEnvPars (std::string &str) |
| std::string | GetOpt (const char *prefix) |
Protected Attributes | |
| std::map< std::string, std::string > | fPars |
Definition at line 293 of file TGo4AnalysisProxy.cxx.
| TGo4Prefs::TGo4Prefs | ( | const char * | hostname | ) | [inline] |
Definition at line 297 of file TGo4AnalysisProxy.cxx.
References SetPar().
| void TGo4Prefs::AddFile | ( | const char * | fname, | |
| bool | errorout = false | |||
| ) | [inline] |
Definition at line 307 of file TGo4AnalysisProxy.cxx.
References TGo4Log::Debug(), GetPar(), HasPar(), and SetPar().
Referenced by TGo4AnalysisProxy::GetLaunchString().
| std::string TGo4Prefs::GetOpt | ( | const char * | prefix | ) | [inline] |
return option value with parameters replaced
Definition at line 436 of file TGo4AnalysisProxy.cxx.
References GetPar(), ReplaceEnvPars(), and ReplacePars().
Referenced by TGo4AnalysisProxy::GetLaunchString().
| const char* TGo4Prefs::GetPar | ( | const char * | name | ) | [inline] |
| bool TGo4Prefs::HasPar | ( | const char * | name | ) | [inline] |
| bool TGo4Prefs::IsOk | ( | ) | const [inline] |
Return true if more than two parameter exists, hostname and os is default
Definition at line 367 of file TGo4AnalysisProxy.cxx.
References fPars.
Referenced by TGo4AnalysisProxy::GetLaunchString().
| void TGo4Prefs::ReplaceEnvPars | ( | std::string & | str | ) | [inline] |
Definition at line 413 of file TGo4AnalysisProxy.cxx.
References TGo4Log::Debug().
Referenced by GetOpt().
| void TGo4Prefs::ReplacePars | ( | std::string & | str | ) | [inline] |
| void TGo4Prefs::SetPar | ( | const char * | name, | |
| const char * | value, | |||
| bool | force = true | |||
| ) | [inline] |
Definition at line 369 of file TGo4AnalysisProxy.cxx.
References fPars.
Referenced by AddFile(), TGo4AnalysisProxy::GetLaunchString(), and TGo4Prefs().
std::map<std::string, std::string> TGo4Prefs::fPars [protected] |
Definition at line 295 of file TGo4AnalysisProxy.cxx.
Referenced by GetPar(), IsOk(), ReplacePars(), and SetPar().
1.7.1