Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TProofBenchDataSet.h
Go to the documentation of this file.
1 // @(#)root/proof:$Id$
2 // Author: Sangsu Ryu 22/06/2010
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TProofBenchDataSet
13 #define ROOT_TProofBenchDataSet
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TProofBenchDataSet //
18 // //
19 // Handle operations on datasets used by ProofBench //
20 // //
21 //////////////////////////////////////////////////////////////////////////
22 
23 #include "TObject.h"
24 
25 class TProof;
26 
27 class TProofBenchDataSet: public TObject {
28 
29 private:
30 
31 protected:
32  TProof* fProof; //proof
33 
34  Int_t Handle(const char *dset, TObject *type);
35 
36 public:
37 
38  TProofBenchDataSet(TProof *proof = 0);
39  virtual ~TProofBenchDataSet() { }
40 
41  Bool_t IsProof(TProof *p) { return (p == fProof) ? kTRUE : kFALSE; }
42 
43  Int_t CopyFiles(const char *dset, const char *destdir);
44  Int_t ReleaseCache(const char *dset);
45  Int_t RemoveFiles(const char *dset);
46 
47  ClassDef(TProofBenchDataSet,0) //Handle operations on datasets
48 };
49 
50 #endif