Logo ROOT  
Reference Guide
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TAlienPackage Class Reference

Definition at line 30 of file TAlienPackage.h.

Public Member Functions

 TAlienPackage ()
 Default constructor of a AliEn package constructing a ROOT:v5-16-00 for Linux-i686. More...
 
 TAlienPackage (const char *name, const char *version, const char *platform, const char *installationdirectory="/var/tmp/alien/packages")
 Constructor of a AliEn package. More...
 
virtual ~TAlienPackage ()
 Destructor. More...
 
Bool_t CheckDependencies ()
 Check the dependency packages of this package. More...
 
Bool_t CheckDirectories (TString name, TString version)
 Check the name and version directory of package/version given. More...
 
Bool_t Enable ()
 Install/enable an AliEn package on the local computer. More...
 
Bool_t Exec (const char *cmdline)
 Execute package command. More...
 
TString GetAliEnMainPackageDir () const
 
Int_t GetDebugLevel ()
 
const char * GetEnable ()
 Return shell command to enable package. More...
 
TString GetInstallationDirectory () const
 
TListGetInstallList () const
 
TString GetName () const
 
TString GetPlatform () const
 
TString GetVersion () const
 
Bool_t IsDirectory (const char *dir1, const char *str)
 Check that <str> is listed in GRID directory <dir1>. More...
 
Bool_t ReInstall ()
 Reinstalls a package e.g. uninstall + install. More...
 
void SetAliEnMainPackageDir (const TString &theValue)
 
void SetDebugLevel (Int_t &theValue)
 
void SetInstallationDirectory (const TString &theValue)
 
void SetInstallList (TList *theValue)
 
void SetName (const TString &theValue)
 
void SetPlatform (const TString &theValue)
 
void SetVersion (const TString &theValue)
 
Bool_t UnInstall ()
 Uninstall a package e.g. remove it from the local disk. More...
 

Private Member Functions

Bool_t InstallAllPackages ()
 Installs a package and all its direct dependencies. More...
 
Bool_t InstallSinglePackage (TString name, TString version, Bool_t isDep=kFALSE)
 Install a single package. More...
 
Bool_t PostInstall (TString name, TString version)
 Execute post_install procedure for a package. More...
 

Private Attributes

TString fAliEnMainPackageDir
 
Int_t fDebugLevel
 
TString fEnableCommand
 
Bool_t fEnabled
 
TString fInstallationDirectory
 
TListfInstallList
 
TString fName
 
TListfPackages
 
TString fPlatform
 
TString fPostInstallCommand
 
TString fVersion
 

#include <TAlienPackage.h>

Constructor & Destructor Documentation

◆ TAlienPackage() [1/2]

TAlienPackage::TAlienPackage ( )

Default constructor of a AliEn package constructing a ROOT:v5-16-00 for Linux-i686.

Definition at line 54 of file TAlienPackage.cxx.

◆ TAlienPackage() [2/2]

TAlienPackage::TAlienPackage ( const char *  name,
const char *  version,
const char *  platform,
const char *  installationdirectory = "/var/tmp/alien/packages" 
)

Constructor of a AliEn package.

Definition at line 85 of file TAlienPackage.cxx.

◆ ~TAlienPackage()

TAlienPackage::~TAlienPackage ( )
virtual

Destructor.

Definition at line 121 of file TAlienPackage.cxx.

Member Function Documentation

◆ CheckDependencies()

Bool_t TAlienPackage::CheckDependencies ( )

Check the dependency packages of this package.

Definition at line 321 of file TAlienPackage.cxx.

◆ CheckDirectories()

Bool_t TAlienPackage::CheckDirectories ( TString  name,
TString  version 
)

Check the name and version directory of package/version given.

Definition at line 203 of file TAlienPackage.cxx.

◆ Enable()

Bool_t TAlienPackage::Enable ( )

Install/enable an AliEn package on the local computer.

Definition at line 132 of file TAlienPackage.cxx.

◆ Exec()

Bool_t TAlienPackage::Exec ( const char *  cmdline)

Execute package command.

Definition at line 294 of file TAlienPackage.cxx.

◆ GetAliEnMainPackageDir()

TString TAlienPackage::GetAliEnMainPackageDir ( ) const
inline

Definition at line 87 of file TAlienPackage.h.

◆ GetDebugLevel()

Int_t TAlienPackage::GetDebugLevel ( )
inline

Definition at line 95 of file TAlienPackage.h.

◆ GetEnable()

const char * TAlienPackage::GetEnable ( )

Return shell command to enable package.

Definition at line 160 of file TAlienPackage.cxx.

◆ GetInstallationDirectory()

TString TAlienPackage::GetInstallationDirectory ( ) const
inline

Definition at line 83 of file TAlienPackage.h.

◆ GetInstallList()

TList * TAlienPackage::GetInstallList ( ) const
inline

Definition at line 91 of file TAlienPackage.h.

◆ GetName()

TString TAlienPackage::GetName ( ) const
inline

Definition at line 71 of file TAlienPackage.h.

◆ GetPlatform()

TString TAlienPackage::GetPlatform ( ) const
inline

Definition at line 79 of file TAlienPackage.h.

◆ GetVersion()

TString TAlienPackage::GetVersion ( ) const
inline

Definition at line 75 of file TAlienPackage.h.

◆ InstallAllPackages()

Bool_t TAlienPackage::InstallAllPackages ( )
private

Installs a package and all its direct dependencies.

Definition at line 479 of file TAlienPackage.cxx.

◆ InstallSinglePackage()

Bool_t TAlienPackage::InstallSinglePackage ( TString  name,
TString  version,
Bool_t  isDep = kFALSE 
)
private

Install a single package.

Definition at line 388 of file TAlienPackage.cxx.

◆ IsDirectory()

Bool_t TAlienPackage::IsDirectory ( const char *  dir1,
const char *  str 
)

Check that <str> is listed in GRID directory <dir1>.

Definition at line 186 of file TAlienPackage.cxx.

◆ PostInstall()

Bool_t TAlienPackage::PostInstall ( TString  name,
TString  version 
)
private

Execute post_install procedure for a package.

Definition at line 250 of file TAlienPackage.cxx.

◆ ReInstall()

Bool_t TAlienPackage::ReInstall ( )

Reinstalls a package e.g. uninstall + install.

Definition at line 237 of file TAlienPackage.cxx.

◆ SetAliEnMainPackageDir()

void TAlienPackage::SetAliEnMainPackageDir ( const TString theValue)
inline

Definition at line 85 of file TAlienPackage.h.

◆ SetDebugLevel()

void TAlienPackage::SetDebugLevel ( Int_t theValue)
inline

Definition at line 93 of file TAlienPackage.h.

◆ SetInstallationDirectory()

void TAlienPackage::SetInstallationDirectory ( const TString theValue)
inline

Definition at line 81 of file TAlienPackage.h.

◆ SetInstallList()

void TAlienPackage::SetInstallList ( TList theValue)
inline

Definition at line 89 of file TAlienPackage.h.

◆ SetName()

void TAlienPackage::SetName ( const TString theValue)
inline

Definition at line 69 of file TAlienPackage.h.

◆ SetPlatform()

void TAlienPackage::SetPlatform ( const TString theValue)
inline

Definition at line 77 of file TAlienPackage.h.

◆ SetVersion()

void TAlienPackage::SetVersion ( const TString theValue)
inline

Definition at line 73 of file TAlienPackage.h.

◆ UnInstall()

Bool_t TAlienPackage::UnInstall ( )

Uninstall a package e.g. remove it from the local disk.

Definition at line 172 of file TAlienPackage.cxx.

Member Data Documentation

◆ fAliEnMainPackageDir

TString TAlienPackage::fAliEnMainPackageDir
private

Definition at line 37 of file TAlienPackage.h.

◆ fDebugLevel

Int_t TAlienPackage::fDebugLevel
private

Definition at line 42 of file TAlienPackage.h.

◆ fEnableCommand

TString TAlienPackage::fEnableCommand
private

Definition at line 39 of file TAlienPackage.h.

◆ fEnabled

Bool_t TAlienPackage::fEnabled
private

Definition at line 43 of file TAlienPackage.h.

◆ fInstallationDirectory

TString TAlienPackage::fInstallationDirectory
private

Definition at line 36 of file TAlienPackage.h.

◆ fInstallList

TList* TAlienPackage::fInstallList
private

Definition at line 40 of file TAlienPackage.h.

◆ fName

TString TAlienPackage::fName
private

Definition at line 33 of file TAlienPackage.h.

◆ fPackages

TList* TAlienPackage::fPackages
private

Definition at line 41 of file TAlienPackage.h.

◆ fPlatform

TString TAlienPackage::fPlatform
private

Definition at line 35 of file TAlienPackage.h.

◆ fPostInstallCommand

TString TAlienPackage::fPostInstallCommand
private

Definition at line 38 of file TAlienPackage.h.

◆ fVersion

TString TAlienPackage::fVersion
private

Definition at line 34 of file TAlienPackage.h.


The documentation for this class was generated from the following files: