pq2wrappers.cxx File Reference

#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)
TFileCollectionGetDataSet (const char *ds, const char *server)
TMapGetDataSets (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

TDataSetManagergDataSetManager = 0
TUrl gUrl
Bool_t gIsProof
TString flog
TString ferr
TString fres
Int_t gverbose


Function Documentation

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().

Int_t getProof ( const char *  where,
Int_t  verbose = 1 
)

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().


Variable Documentation

TString ferr

Definition at line 38 of file pq2main.cxx.

TString flog

Definition at line 37 of file pq2main.cxx.

TString fres

Definition at line 39 of file pq2main.cxx.

TDataSetManager* gDataSetManager = 0

Definition at line 31 of file pq2wrappers.cxx.

Referenced by DataSetCache(), ExistsDataSet(), GetDataSet(), GetDataSets(), getDSMgr(), RegisterDataSet(), RemoveDataSet(), ShowDataSets(), and VerifyDataSet().

Bool_t gIsProof

Definition at line 50 of file pq2ping.cxx.

Referenced by checkUrl(), DataSetCache(), ExistsDataSet(), GetDataSet(), GetDataSets(), RegisterDataSet(), RemoveDataSet(), ShowDataSets(), and VerifyDataSet().

TUrl gUrl

Definition at line 49 of file pq2ping.cxx.

Referenced by checkUrl(), getDSMgr(), getProof(), pingServerAt(), pingXproofdAt(), and pingXrootdAt().

Int_t gverbose

Definition at line 40 of file pq2main.cxx.


Generated on Tue Jul 5 16:08:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1