#include <TAlien.h>
Inheritance diagram for TAlien:
Public Types | |
enum | |
enum | CatalogType |
Public Member Functions | |
TAlien (const char *gridurl, const char *uid=0, const char *passwd=0, const char *options=0) | |
virtual | ~TAlien () |
void | Shell () |
void | Stdout () |
void | Stderr () |
TMap * | GetColumn (UInt_t stream=0, UInt_t column=0) |
UInt_t | GetNColumns (UInt_t stream) |
const char * | GetStreamFieldValue (UInt_t stream, UInt_t column, UInt_t row) |
const char * | GetStreamFieldKey (UInt_t stream, UInt_t column, UInt_t row) |
TString | Escape (const char *input) |
virtual TGridJob * | Submit (const char *jdl) |
virtual TGridJDL * | GetJDLGenerator () |
virtual TGridCollection * | OpenCollection (const char *collectionfile, UInt_t maxentries=kTRUE) |
virtual TGridCollection * | OpenCollectionQuery (TGridResult *queryresult, Bool_t nogrouping=kFALSE) |
virtual TGridJobStatusList * | Ps (const char *options, Bool_t verbose=kTRUE) |
virtual Bool_t | KillById (TString jobid) |
virtual Bool_t | ResubmitById (TString jobid) |
virtual TGridResult * | Ls (const char *ldn="", Option_t *options="", Bool_t verbose=kFALSE) |
virtual const char * | Pwd (Bool_t verbose=kFALSE) |
virtual const char * | GetHomeDirectory () |
virtual Bool_t | Cd (const char *ldn="", Bool_t verbose=kFALSE) |
virtual Int_t | Mkdir (const char *ldn="", Option_t *options="", Bool_t verbose=kFALSE) |
virtual Bool_t | Rmdir (const char *ldn="", Option_t *options="", Bool_t verbose=kFALSE) |
virtual Bool_t | Register (const char *lfn, const char *turl, Long_t size=-1, const char *se=0, const char *guid=0, Bool_t verbose=kFALSE) |
virtual Bool_t | Rm (const char *lfn, Option_t *option="", Bool_t verbose=kFALSE) |
virtual CatalogType | Type (const char *lfn, Option_t *option="", Bool_t verbose=kFALSE) |
virtual TGridResult * | GetCollection (const char *lfn, Option_t *option="", Bool_t verbose=kFALSE) |
virtual TGridResult * | ListPackages (const char *alienpackagedir="/alice/packages") |
Private Member Functions | |
TGridResult * | Command (const char *command, bool interactive=kFALSE, UInt_t stream=kOUTPUT) |
virtual TGridResult * | Query (const char *path, const char *pattern, const char *conditions="", const char *options="") |
virtual TGridResult * | LocateSites () |
virtual TGridResult * | OpenDataset (const char *lfn, const char *options="") |
Private Attributes | |
GapiUI * | fGc |
TString | fPwd |
TString | fHome |
Definition at line 38 of file TAlien.h.
enum TAlien::CatalogType |
TAlien::TAlien | ( | const char * | gridurl, | |
const char * | uid = 0 , |
|||
const char * | passwd = 0 , |
|||
const char * | options = 0 | |||
) |
TAlien::~TAlien | ( | ) | [virtual] |
TGridResult * TAlien::Command | ( | const char * | command, | |
bool | interactive = kFALSE , |
|||
UInt_t | stream = kOUTPUT | |||
) | [private, virtual] |
Reimplemented from TGrid.
Definition at line 343 of file TAlien.cxx.
References fGc, kTRUE, row, and TCollection::SetOwner().
Referenced by Cd(), GetCollection(), LocateSites(), Ls(), Mkdir(), OpenDataset(), Pwd(), Query(), Register(), Rm(), Rmdir(), Submit(), and Type().
TGridResult * TAlien::Query | ( | const char * | path, | |
const char * | pattern, | |||
const char * | conditions = "" , |
|||
const char * | options = "" | |||
) | [private, virtual] |
TGridResult * TAlien::LocateSites | ( | ) | [private, virtual] |
TGridResult * TAlien::OpenDataset | ( | const char * | lfn, | |
const char * | options = "" | |||
) | [private, virtual] |
void TAlien::Shell | ( | ) | [virtual] |
void TAlien::Stdout | ( | ) | [virtual] |
Reimplemented from TGrid.
Definition at line 379 of file TAlien.cxx.
References fGc.
Referenced by Cd(), GetCollection(), Mkdir(), Pwd(), Register(), Rm(), Rmdir(), and Type().
void TAlien::Stderr | ( | ) | [virtual] |
Reimplemented from TGrid.
Definition at line 387 of file TAlien.cxx.
References fGc.
Referenced by Cd(), GetCollection(), Mkdir(), Pwd(), Register(), Rm(), Rmdir(), and Type().
Definition at line 421 of file TAlien.cxx.
References fGc.
Referenced by Cd(), Mkdir(), Register(), Rm(), and Rmdir().
TString TAlien::Escape | ( | const char * | input | ) |
TGridJob * TAlien::Submit | ( | const char * | jdl | ) | [virtual] |
Reimplemented from TGrid.
Definition at line 228 of file TAlien.cxx.
References command, Command(), TString::Data(), TAlienResult::DumpResult(), TObject::Error(), TObjString::GetString(), TMap::GetValue(), TObject::Info(), kFALSE, kOUTPUT, list, TIterator::Next(), object, and result().
TGridJDL * TAlien::GetJDLGenerator | ( | ) | [virtual] |
TGridCollection * TAlien::OpenCollection | ( | const char * | collectionfile, | |
UInt_t | maxentries = kTRUE | |||
) | [virtual] |
Reimplemented from TGrid.
Definition at line 627 of file TAlien.cxx.
References alien(), TString::BeginsWith(), TObject::Error(), gGrid, kCollection, TString::kIgnoreCase, TString::Length(), TAlienCollection::Open(), and TAlienCollection::OpenAlienCollection().
TGridCollection * TAlien::OpenCollectionQuery | ( | TGridResult * | queryresult, | |
Bool_t | nogrouping = kFALSE | |||
) | [virtual] |
Reimplemented from TGrid.
Definition at line 658 of file TAlien.cxx.
References TAlienCollection::OpenQuery().
TGridJobStatusList * TAlien::Ps | ( | const char * | options, | |
Bool_t | verbose = kTRUE | |||
) | [virtual] |
Reimplemented from TGrid.
Definition at line 287 of file TAlien.cxx.
References TList::Add(), TGrid::GetUser(), gGrid, and i.
Reimplemented from TGrid.
Definition at line 321 of file TAlien.cxx.
References TString::Data(), kFALSE, and kTRUE.
Reimplemented from TGrid.
Definition at line 332 of file TAlien.cxx.
References TString::Data(), kFALSE, and kTRUE.
TGridResult * TAlien::Ls | ( | const char * | ldn = "" , |
|
Option_t * | options = "" , |
|||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
Reimplemented from TGrid.
Definition at line 441 of file TAlien.cxx.
References Command().
Referenced by ListPackages().
Reimplemented from TGrid.
Definition at line 475 of file TAlien.cxx.
References Command(), TObject::Error(), fPwd, TMap::GetValue(), kENVIR, kFALSE, pwd(), result(), Stderr(), and Stdout().
virtual const char* TAlien::GetHomeDirectory | ( | ) | [inline, virtual] |
Reimplemented from TGrid.
Definition at line 89 of file TAlien.h.
References TString::Data(), and fHome.
Reimplemented from TGrid.
Definition at line 449 of file TAlien.cxx.
References Command(), TObject::Error(), GetStreamFieldValue(), kFALSE, kOUTPUT, kTRUE, result(), Stderr(), and Stdout().
Int_t TAlien::Mkdir | ( | const char * | ldn = "" , |
|
Option_t * | options = "" , |
|||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
Reimplemented from TGrid.
Definition at line 507 of file TAlien.cxx.
References Command(), TObject::Error(), GetStreamFieldValue(), kFALSE, kOUTPUT, result(), Stderr(), and Stdout().
Bool_t TAlien::Rmdir | ( | const char * | ldn = "" , |
|
Option_t * | options = "" , |
|||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
Reimplemented from TGrid.
Definition at line 538 of file TAlien.cxx.
References Command(), TObject::Error(), GetStreamFieldValue(), kFALSE, kOUTPUT, kTRUE, result(), Stderr(), and Stdout().
Reimplemented from TGrid.
Definition at line 602 of file TAlien.cxx.
References Command(), TObject::Error(), GetStreamFieldValue(), kFALSE, kOUTPUT, kTRUE, result(), Stderr(), and Stdout().
TAlien::CatalogType TAlien::Type | ( | const char * | lfn, | |
Option_t * | option = "" , |
|||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
Definition at line 667 of file TAlien.cxx.
References Command(), TString::Data(), TObject::Error(), TGridResult::GetKey(), kCollection, kDirectory, kFailed, kFALSE, kFile, Stderr(), Stdout(), and type.
TGridResult * TAlien::GetCollection | ( | const char * | lfn, | |
Option_t * | option = "" , |
|||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
TGridResult * TAlien::ListPackages | ( | const char * | alienpackagedir = "/alice/packages" |
) | [virtual] |
Definition at line 726 of file TAlien.cxx.
References TMap::Add(), TString::Data(), Form(), TGridResult::GetFileName(), gr, i, TObject::Info(), j, k, Ls(), result(), and version.
GapiUI* TAlien::fGc [private] |
Definition at line 49 of file TAlien.h.
Referenced by Command(), GetColumn(), GetNColumns(), GetStreamFieldKey(), GetStreamFieldValue(), Shell(), Stderr(), and Stdout().
TString TAlien::fPwd [private] |
TString TAlien::fHome [private] |