Public Member Functions | Protected Attributes

TGo4Prefs Class Reference

List of all members.

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

Detailed Description

Definition at line 293 of file TGo4AnalysisProxy.cxx.


Constructor & Destructor Documentation

TGo4Prefs::TGo4Prefs ( const char *  hostname  )  [inline]

Definition at line 297 of file TGo4AnalysisProxy.cxx.

References SetPar().


Member Function Documentation

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]

Definition at line 376 of file TGo4AnalysisProxy.cxx.

References fPars.

Referenced by AddFile(), GetOpt(), and HasPar().

bool TGo4Prefs::HasPar ( const char *  name  )  [inline]

Definition at line 383 of file TGo4AnalysisProxy.cxx.

References GetPar().

Referenced by AddFile().

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]

Definition at line 388 of file TGo4AnalysisProxy.cxx.

References fPars.

Referenced by GetOpt().

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().


Member Data Documentation

std::map<std::string, std::string> TGo4Prefs::fPars [protected]

Definition at line 295 of file TGo4AnalysisProxy.cxx.

Referenced by GetPar(), IsOk(), ReplacePars(), and SetPar().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines