#include <stdlib.h>
#include "pq2wrappers.h"
#include "redirguard.h"
#include "TDataSetManager.h"
#include "TEnv.h"
#include "TFileInfo.h"
#include "TPluginManager.h"
#include "TProof.h"
#include "TROOT.h"
Go to the source code of this file.
Functions | |
Int_t | getProof (const char *where, Int_t verbose=1) |
Int_t | getDSMgr (const char *where) |
void | DataSetCache (bool clear, const char *ds) |
void | ShowDataSets (const char *ds, const char *opt) |
TFileCollection * | GetDataSet (const char *ds, const char *server) |
TMap * | GetDataSets (const char *owner, const char *server, const char *opt) |
Int_t | RemoveDataSet (const char *dsname) |
Int_t | VerifyDataSet (const char *dsname, const char *opt, const char *redir) |
Bool_t | ExistsDataSet (const char *dsname) |
Int_t | RegisterDataSet (const char *dsname, TFileCollection *fc, const char *opt) |
Variables | |
TDataSetManager * | gDataSetManager = 0 |
TUrl | gUrl |
Bool_t | gIsProof |
TString | flog |
TString | ferr |
TString | fres |
Int_t | gverbose |
void DataSetCache | ( | bool | clear, | |
const char * | ds | |||
) |
Definition at line 45 of file pq2wrappers.cxx.
References TDataSetManager::ClearCache(), TProof::ClearDataSetCache(), gDataSetManager, getDSMgr(), getProof(), gIsProof, gProof, Printf(), TDataSetManager::ShowCache(), and TProof::ShowDataSetCache().
Bool_t ExistsDataSet | ( | const char * | dsname | ) |
Definition at line 191 of file pq2wrappers.cxx.
References TDataSetManager::ExistsDataSet(), TProof::ExistsDataSet(), gDataSetManager, getDSMgr(), getProof(), gIsProof, gProof, and kFALSE.
TFileCollection* GetDataSet | ( | const char * | ds, | |
const char * | server | |||
) |
Definition at line 78 of file pq2wrappers.cxx.
References fc, gDataSetManager, TDataSetManager::GetDataSet(), TProof::GetDataSet(), getDSMgr(), getProof(), gIsProof, and gProof.
TMap* GetDataSets | ( | const char * | owner, | |
const char * | server, | |||
const char * | opt | |||
) |
Definition at line 94 of file pq2wrappers.cxx.
References TMap::Add(), TMap::DeleteAll(), fc, gDataSetManager, TProof::GetDataSets(), TDataSetManager::GetDataSets(), getDSMgr(), TFileCollection::GetFilesOnServer(), getProof(), TCollection::GetSize(), TMap::GetValue(), gIsProof, gProof, k, TDataSetManager::kExport, TDataSetManager::kList, and Printf().
Int_t getDSMgr | ( | const char * | where | ) |
Definition at line 236 of file pq2wrappers.cxx.
References TString::Data(), TPluginManager::FindHandler(), TString::Form(), gDataSetManager, getenv(), TROOT::GetPluginManager(), TUrl::GetUrl(), gROOT, gUrl, h, o, and Printf().
Referenced by DataSetCache(), ExistsDataSet(), GetDataSet(), GetDataSets(), RegisterDataSet(), RemoveDataSet(), ShowDataSets(), and VerifyDataSet().
Definition at line 219 of file pq2wrappers.cxx.
References TString::Data(), flog, TUrl::GetUrl(), gProof, gUrl, gverbose, TProof::IsValid(), TProof::Open(), Printf(), and TProof::SetLogLevel().
Referenced by DataSetCache(), ExistsDataSet(), finalizeProof(), GetDataSet(), GetDataSets(), PT_Open(), RegisterDataSet(), RemoveDataSet(), runProof(), ShowDataSets(), and VerifyDataSet().
Int_t RegisterDataSet | ( | const char * | dsname, | |
TFileCollection * | fc, | |||
const char * | opt | |||
) |
Definition at line 205 of file pq2wrappers.cxx.
References gDataSetManager, getDSMgr(), getProof(), gIsProof, gProof, TDataSetManager::RegisterDataSet(), and TProof::RegisterDataSet().
Int_t RemoveDataSet | ( | const char * | dsname | ) |
Definition at line 140 of file pq2wrappers.cxx.
References gDataSetManager, getDSMgr(), getProof(), gIsProof, gProof, TProof::RemoveDataSet(), and TDataSetManager::RemoveDataSet().
void ShowDataSets | ( | const char * | ds, | |
const char * | opt | |||
) |
Definition at line 63 of file pq2wrappers.cxx.
References gDataSetManager, getDSMgr(), getProof(), gIsProof, gProof, TProof::ShowDataSets(), and TDataSetManager::ShowDataSets().
Int_t VerifyDataSet | ( | const char * | dsname, | |
const char * | opt, | |||
const char * | redir | |||
) |
Definition at line 155 of file pq2wrappers.cxx.
References TProof::AddEnvVar(), TString::Form(), gDataSetManager, gEnv, TDataSetManager::GetDataSet(), TProof::GetDataSet(), getDSMgr(), getProof(), TFileCollection::GetStagedPercentage(), gIsProof, gProof, TString::IsNull(), TDataSetManager::ScanDataSet(), TEnv::SetValue(), and TProof::VerifyDataSet().
Definition at line 38 of file pq2main.cxx.
Definition at line 37 of file pq2main.cxx.
Definition at line 39 of file pq2main.cxx.
Definition at line 31 of file pq2wrappers.cxx.
Referenced by DataSetCache(), ExistsDataSet(), GetDataSet(), GetDataSets(), getDSMgr(), RegisterDataSet(), RemoveDataSet(), ShowDataSets(), and VerifyDataSet().
Definition at line 50 of file pq2ping.cxx.
Referenced by checkUrl(), DataSetCache(), ExistsDataSet(), GetDataSet(), GetDataSets(), RegisterDataSet(), RemoveDataSet(), ShowDataSets(), and VerifyDataSet().
Definition at line 49 of file pq2ping.cxx.
Referenced by checkUrl(), getDSMgr(), getProof(), pingServerAt(), pingXproofdAt(), and pingXrootdAt().
Definition at line 40 of file pq2main.cxx.