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 * | BinDir () const |
const char * | DataDir () const |
const char * | Dir () const |
const char * | Export () const |
const char * | GitCommit () const |
const char * | IncDir () const |
bool | IsInvalid () const |
bool | IsParked () const |
bool | IsValid () const |
const char * | LibDir () 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 | |
XrdOucString | fBinDir |
XrdOucString | fDataDir |
XrdOucString | fDir |
XrdOucString | fExport |
XrdOucString | fGitCommit |
XrdOucString | fIncDir |
XrdOucString | fLibDir |
XrdOucString | fPrgmSrv |
XrdOucString | fRelease |
kXR_int16 | fSrvProtVers |
int | fStatus |
XrdOucString | fTag |
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.
|
private |
Check if 'dir' exists Return 0 on succes, -1 on failure.
Definition at line 123 of file XrdROOT.cxx.
|
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.
Translate 'release' into a version code integer following the rules in $ROOTSYS/include/RVersion.h.
Definition at line 286 of file XrdROOT.cxx.
|
inline |
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.
|
private |
Extract ROOT version information associated with 'dir'.
Definition at line 171 of file XrdROOT.cxx.
void XrdROOT::SetValid | ( | kXR_int16 | vers = -1 | ) |
Set valid, save protocol and finalize the export string.
Definition at line 149 of file XrdROOT.cxx.
|
friend |