#include <XrdROOT.h>
Public Member Functions | |
| XrdROOT (const char *dir, const char *tag, const char *bindir=0, const char *incdir=0, const char *libdir=0, const char *datadir=0) | |
| ~XrdROOT () | |
| const char * | Dir () const |
| const char * | BinDir () const |
| const char * | DataDir () const |
| const char * | IncDir () const |
| const char * | LibDir () const |
| const char * | Export () const |
| bool | IsParked () const |
| bool | IsValid () const |
| bool | IsInvalid () const |
| bool | Match (const char *dir, const char *tag) |
| bool | MatchTag (const char *tag) |
| void | Park () |
| const char * | PrgmSrv () const |
| const char * | Release () const |
| void | SetValid (kXR_int16 vers=-1) |
| kXR_int16 | SrvProtVers () const |
| int | SvnRevision () const |
| const char * | Tag () const |
| int | VersionCode () const |
| int | VrsMajor () const |
| int | VrsMinor () const |
| int | VrsPatch () const |
Static Public Member Functions | |
| static int | GetVersionCode (const char *release) |
| static int | GetVersionCode (int maj, int min, int patch) |
| static int | ParseReleaseString (const char *release, int &maj, int &min, int &patch) |
Private Member Functions | |
| int | CheckDir (const char *dir) |
| int | ParseROOTVersionInfo () |
Private Attributes | |
| int | fStatus |
| XrdOucString | fDir |
| XrdOucString | fBinDir |
| XrdOucString | fDataDir |
| XrdOucString | fIncDir |
| XrdOucString | fLibDir |
| XrdOucString | fTag |
| XrdOucString | fExport |
| XrdOucString | fPrgmSrv |
| kXR_int16 | fSrvProtVers |
| XrdOucString | fRelease |
| int | fSvnRevision |
| int | fVersionCode |
| int | fVrsMajor |
| int | fVrsMinor |
| int | fVrsPatch |
Friends | |
| class | XrdROOTMgr |
Definition at line 35 of file XrdROOT.h.
| XrdROOT::XrdROOT | ( | const char * | dir, | |
| const char * | tag, | |||
| const char * | bindir = 0, |
|||
| const char * | incdir = 0, |
|||
| const char * | libdir = 0, |
|||
| const char * | datadir = 0 | |||
| ) |
Definition at line 38 of file XrdROOT.cxx.
References XrdOucString::c_str(), CheckDir(), fBinDir, fDataDir, fDir, fExport, fIncDir, fLibDir, fPrgmSrv, fRelease, fSrvProtVers, fStatus, fSvnRevision, fTag, fVersionCode, fVrsMajor, fVrsMinor, fVrsPatch, ParseROOTVersionInfo(), TRACE, and XPDLOC.
| int XrdROOT::CheckDir | ( | const char * | dir | ) | [private] |
| int XrdROOT::ParseROOTVersionInfo | ( | ) | [private] |
Definition at line 167 of file XrdROOT.cxx.
References XrdOucString::c_str(), fclose(), fIncDir, fopen, fRelease, fSvnRevision, fVersionCode, fVrsMajor, fVrsMinor, fVrsPatch, XrdOucString::length(), line, ParseReleaseString(), XrdOucString::replace(), TRACE, and XPDLOC.
Referenced by XrdROOT().
| const char* XrdROOT::Dir | ( | ) | const [inline] |
Definition at line 65 of file XrdROOT.h.
References XrdOucString::c_str(), and fDir.
Referenced by XrdROOTMgr::DoDirectiveRootSys(), XrdProofdProofServMgr::SetProofServEnv(), and XrdProofdProofServMgr::SetProofServEnvOld().
| const char* XrdROOT::BinDir | ( | ) | const [inline] |
| const char* XrdROOT::DataDir | ( | ) | const [inline] |
| const char* XrdROOT::IncDir | ( | ) | const [inline] |
| const char* XrdROOT::LibDir | ( | ) | const [inline] |
| const char* XrdROOT::Export | ( | ) | const [inline] |
Definition at line 70 of file XrdROOT.h.
References XrdOucString::c_str(), and fExport.
Referenced by XrdProofdProofServMgr::Create().
| bool XrdROOT::IsParked | ( | ) | const [inline] |
| bool XrdROOT::IsValid | ( | ) | const [inline] |
| bool XrdROOT::IsInvalid | ( | ) | const [inline] |
| bool XrdROOT::Match | ( | const char * | dir, | |
| const char * | tag | |||
| ) | [inline] |
| bool XrdROOT::MatchTag | ( | const char * | tag | ) | [inline] |
| const char* XrdROOT::PrgmSrv | ( | ) | const [inline] |
Definition at line 78 of file XrdROOT.h.
References XrdOucString::c_str(), and fPrgmSrv.
Referenced by XrdProofdProofServMgr::Create().
| const char* XrdROOT::Release | ( | ) | const [inline] |
| void XrdROOT::SetValid | ( | kXR_int16 | vers = -1 |
) |
Definition at line 145 of file XrdROOT.cxx.
References fExport, fSrvProtVers, fStatus, int, and XrdOucString::replace().
| kXR_int16 XrdROOT::SrvProtVers | ( | ) | const [inline] |
Definition at line 81 of file XrdROOT.h.
References fSrvProtVers.
Referenced by XrdProofdProofServMgr::Attach(), XrdProofdProofServMgr::CheckActiveSessions(), XrdProofdProofServMgr::Create(), and XrdProofdManager::GetWorkers().
| int XrdROOT::SvnRevision | ( | ) | const [inline] |
| const char* XrdROOT::Tag | ( | ) | const [inline] |
Definition at line 83 of file XrdROOT.h.
References XrdOucString::c_str(), and fTag.
Referenced by XrdROOTMgr::DoDirectiveRootSys().
| int XrdROOT::VersionCode | ( | ) | const [inline] |
| int XrdROOT::VrsMajor | ( | ) | const [inline] |
| int XrdROOT::VrsMinor | ( | ) | const [inline] |
| int XrdROOT::VrsPatch | ( | ) | const [inline] |
| int XrdROOT::GetVersionCode | ( | const char * | release | ) | [static] |
Definition at line 235 of file XrdROOT.cxx.
References min, and ParseReleaseString().
Referenced by XrdProofdProofServMgr::SetProofServEnv().
| int XrdROOT::GetVersionCode | ( | int | maj, | |
| int | min, | |||
| int | patch | |||
| ) | [static] |
Definition at line 247 of file XrdROOT.cxx.
| int XrdROOT::ParseReleaseString | ( | const char * | release, | |
| int & | maj, | |||
| int & | min, | |||
| int & | patch | |||
| ) | [static] |
Definition at line 256 of file XrdROOT.cxx.
References XrdOucString::c_str(), and XrdOucString::replace().
Referenced by GetVersionCode(), and ParseROOTVersionInfo().
friend class XrdROOTMgr [friend] |
int XrdROOT::fStatus [private] |
Definition at line 38 of file XrdROOT.h.
Referenced by IsInvalid(), IsParked(), IsValid(), Park(), SetValid(), and XrdROOT().
XrdOucString XrdROOT::fDir [private] |
XrdOucString XrdROOT::fBinDir [private] |
XrdOucString XrdROOT::fDataDir [private] |
XrdOucString XrdROOT::fIncDir [private] |
Definition at line 42 of file XrdROOT.h.
Referenced by IncDir(), ParseROOTVersionInfo(), and XrdROOT().
XrdOucString XrdROOT::fLibDir [private] |
XrdOucString XrdROOT::fTag [private] |
XrdOucString XrdROOT::fExport [private] |
XrdOucString XrdROOT::fPrgmSrv [private] |
kXR_int16 XrdROOT::fSrvProtVers [private] |
XrdOucString XrdROOT::fRelease [private] |
Definition at line 49 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), Release(), and XrdROOT().
int XrdROOT::fSvnRevision [private] |
Definition at line 50 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), SvnRevision(), and XrdROOT().
int XrdROOT::fVersionCode [private] |
Definition at line 51 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), VersionCode(), and XrdROOT().
int XrdROOT::fVrsMajor [private] |
Definition at line 53 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), VrsMajor(), and XrdROOT().
int XrdROOT::fVrsMinor [private] |
Definition at line 54 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), VrsMinor(), and XrdROOT().
int XrdROOT::fVrsPatch [private] |
Definition at line 55 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), VrsPatch(), and XrdROOT().
1.5.1