ROOT
6.06/09
Reference Guide
|
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) | |
Constructor: validates 'dir', gets the version and defines the tag. More... | |
~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 |
const char * | GitCommit () 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) |
Set valid, save protocol and finalize the export string. More... | |
kXR_int16 | SrvProtVers () 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) |
Translate 'release' into a version code integer following the rules in $ROOTSYS/include/RVersion.h. More... | |
static int | GetVersionCode (int maj, int min, int patch) |
Translate 'release' into a version code integer following the rules in $ROOTSYS/include/RVersion.h. More... | |
static int | ParseReleaseString (const char *release, int &maj, int &min, int &patch) |
Extract from 'release' its major, minor and patch numerical components; 'release' must be in the format 'M.N/PP<something else>="">', e.g. More... | |
Private Member Functions | |
int | CheckDir (const char *dir) |
Check if 'dir' exists Return 0 on succes, -1 on failure. More... | |
int | ParseROOTVersionInfo () |
Extract ROOT version information associated with 'dir'. More... | |
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 |
XrdOucString | fGitCommit |
int | fVersionCode |
int | fVrsMajor |
int | fVrsMinor |
int | fVrsPatch |
Friends | |
class | XrdROOTMgr |
#include <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 |
||
) |
Constructor: validates 'dir', gets the version and defines the tag.
Definition at line 40 of file XrdROOT.cxx.
|
inline |
Definition at line 66 of file XrdROOT.h.
Referenced by XrdProofdManager::Config(), XrdProofdProofServMgr::SetProofServEnv(), and XrdProofdProtocol::StartRootd().
|
private |
Check if 'dir' exists Return 0 on succes, -1 on failure.
Definition at line 123 of file XrdROOT.cxx.
Referenced by XrdROOT().
|
inline |
Definition at line 67 of file XrdROOT.h.
Referenced by XrdProofdProofServMgr::SetProofServEnv().
|
inline |
Definition at line 65 of file XrdROOT.h.
Referenced by XrdProofdProofServMgr::CreateProofServEnvFile(), XrdROOTMgr::DoDirectiveRootSys(), XrdProofdProofServMgr::SetProofServEnv(), and XrdProofdProofServMgr::SetProofServEnvOld().
|
inline |
Definition at line 70 of file XrdROOT.h.
Referenced by XrdROOTMgr::Config(), XrdROOTMgr::DoDirectiveRootSys(), and XrdProofdProofServMgr::PrepareProofServ().
|
static |
Translate 'release' into a version code integer following the rules in $ROOTSYS/include/RVersion.h.
'release' must be in the format 'M.N/PP<something else>="">', e.g. 5.20/04-cms
Definition at line 275 of file XrdROOT.cxx.
Referenced by XrdProofdProofServMgr::CreateProofServRootRc().
|
static |
Translate 'release' into a version code integer following the rules in $ROOTSYS/include/RVersion.h.
Definition at line 286 of file XrdROOT.cxx.
|
inline |
Definition at line 71 of file XrdROOT.h.
Referenced by XrdROOTMgr::Config(), and XrdROOTMgr::DoDirectiveRootSys().
|
inline |
Definition at line 74 of file XrdROOT.h.
Referenced by XrdROOTMgr::Validate().
|
inline |
Definition at line 69 of file XrdROOT.h.
Referenced by XrdProofdProofServMgr::SetProofServEnv().
|
inline |
|
static |
Extract from 'release' its major, minor and patch numerical components; 'release' must be in the format 'M.N/PP<something else>="">', e.g.
5.20/04-cms; the part <something else>=""> is ignored.
Definition at line 296 of file XrdROOT.cxx.
Referenced by GetVersionCode(), and ParseROOTVersionInfo().
|
private |
Extract ROOT version information associated with 'dir'.
Definition at line 171 of file XrdROOT.cxx.
Referenced by XrdROOT().
|
inline |
Definition at line 79 of file XrdROOT.h.
Referenced by XrdProofdProofServMgr::Create(), and XrdROOTMgr::Validate().
void XrdROOT::SetValid | ( | kXR_int16 | vers = -1 | ) |
Set valid, save protocol and finalize the export string.
Definition at line 149 of file XrdROOT.cxx.
Referenced by XrdROOTMgr::DoDirectiveRootSys(), and XrdROOTMgr::Validate().
|
inline |
Definition at line 82 of file XrdROOT.h.
Referenced by XrdProofdProofServMgr::Attach(), XrdProofdProofServMgr::CheckActiveSessions(), XrdProofdProofServMgr::Create(), XrdProofdProofServMgr::CreateProofServRootRc(), XrdProofdManager::GetWorkers(), XrdProofdProofServMgr::SetProofServEnv(), and XrdProofSessionInfo::XrdProofSessionInfo().
|
inline |
Definition at line 83 of file XrdROOT.h.
Referenced by XrdProofdProofServMgr::CreateProofServEnvFile(), XrdProofdProofServMgr::CreateProofServRootRc(), XrdROOTMgr::DoDirectiveRootSys(), XrdProofdProofServMgr::SetProofServEnvOld(), XrdProofdAdmin::SetROOTVersion(), XrdROOTMgr::Validate(), and XrdProofSessionInfo::XrdProofSessionInfo().
|
inline |
Definition at line 84 of file XrdROOT.h.
Referenced by XrdROOTMgr::Config(), XrdProofdProofServMgr::CreateProofServEnvFile(), XrdProofdProofServMgr::CreateProofServRootRc(), XrdROOTMgr::DoDirectiveRootSys(), and XrdProofdProofServMgr::SetProofServEnvOld().
|
inline |
Definition at line 85 of file XrdROOT.h.
Referenced by XrdROOTMgr::Config(), and XrdROOTMgr::DoDirectiveRootSys().
|
inline |
Definition at line 86 of file XrdROOT.h.
Referenced by XrdROOTMgr::Config(), and XrdROOTMgr::DoDirectiveRootSys().
|
inline |
Definition at line 87 of file XrdROOT.h.
Referenced by XrdROOTMgr::Config(), and XrdROOTMgr::DoDirectiveRootSys().
|
friend |
|
private |
|
private |
|
private |
|
private |
Definition at line 45 of file XrdROOT.h.
Referenced by SetValid(), and XrdROOT().
|
private |
Definition at line 50 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), and XrdROOT().
|
private |
Definition at line 42 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), and XrdROOT().
|
private |
|
private |
|
private |
Definition at line 49 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), and XrdROOT().
|
private |
Definition at line 47 of file XrdROOT.h.
Referenced by SetValid(), SrvProtVers(), and XrdROOT().
|
private |
Definition at line 38 of file XrdROOT.h.
Referenced by SetValid(), and XrdROOT().
|
private |
|
private |
Definition at line 51 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), VersionCode(), and XrdROOT().
|
private |
Definition at line 53 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), VrsMajor(), and XrdROOT().
|
private |
Definition at line 54 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), VrsMinor(), and XrdROOT().
|
private |
Definition at line 55 of file XrdROOT.h.
Referenced by ParseROOTVersionInfo(), VrsPatch(), and XrdROOT().