Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TGridCollection.h
Go to the documentation of this file.
1 // @(#)root/net:$Id$
2 // Author: Andreas-Joachim Peters 2005-05-09
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2004, 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_TGridCollection
13 #define ROOT_TGridCollection
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TGridCollection //
18 // //
19 // Class which manages collection files on the Grid. //
20 // //
21 //////////////////////////////////////////////////////////////////////////
22 
23 #include "TObject.h"
24 
25 class TMap;
26 class TFile;
27 class TEntryList;
28 class TList;
29 class TDSet;
30 class TGridResult;
31 class TFileCollection;
32 
33 
34 class TGridCollection : public TObject {
35 public:
36  TGridCollection() { }
37  virtual ~TGridCollection() { }
38 
39  virtual void Reset()
40  { MayNotUse("Reset"); }
41  virtual TMap *Next()
42  { MayNotUse("Next"); return 0;}
43  virtual Bool_t Remove(TMap *)
44  { MayNotUse("Remove"); return 0;}
45  virtual const char *GetTURL(const char * /*name*/ = "")
46  { MayNotUse("GetTURL"); return 0;}
47  virtual const char *GetSURL(const char * /*name*/ = "")
48  { MayNotUse("GetSURL"); return 0;}
49  virtual const char *GetLFN(const char * /*name*/ = "")
50  { MayNotUse("GetLFN"); return 0;}
51  virtual Long64_t GetSize(const char * /*name*/ = "")
52  { MayNotUse("GetSize"); return -1;}
53  virtual Bool_t IsOnline(const char * /*name*/ = "")
54  { MayNotUse("IsOnline"); return 0;}
55  virtual Bool_t IsSelected(const char * /*name*/ = "")
56  { MayNotUse("IsSelected"); return 0;}
57  virtual void Status()
58  { MayNotUse("Status"); }
59  virtual void SetTag(const char * , const char * , TMap* )
60  { MayNotUse("SetTag"); }
61  virtual Bool_t SelectFile(const char *, Int_t /*nstart*/ = -1 , Int_t /*nstop*/ = -1)
62  { MayNotUse("SelectFile"); return kFALSE;}
63  virtual Bool_t DeselectFile(const char *, Int_t /*nstart*/ = -1, Int_t /*nstop*/ = -1)
64  { MayNotUse("DeselectFile"); return kFALSE;}
65  virtual Bool_t InvertSelection()
66  { MayNotUse("InvertSelection"); return kFALSE;}
67  virtual Bool_t DownscaleSelection(UInt_t /* scaler */ = 2)
68  { MayNotUse("DownscaleSelection"); return kFALSE;}
69  virtual Bool_t ExportXML(const char *, Bool_t /*selected*/ = kTRUE, Bool_t /*online*/ = kTRUE,
70  const char * /*name*/ = "ROOT xml", const char * /*comment*/ = "Exported XML")
71  { MayNotUse("ExportXML"); return kFALSE;}
72  virtual const char* GetExportUrl()
73  { MayNotUse("GetExportUrl"); return 0;}
74  virtual Bool_t SetExportUrl(const char * /*exporturl*/ = 0)
75  { MayNotUse("SetExportUrl"); return kFALSE;}
76  virtual void Print(Option_t *) const
77  { MayNotUse("Print"); }
78  virtual TFile *OpenFile(const char *)
79  { MayNotUse("OpenFile"); return 0;}
80  virtual TList *GetFileGroupList() const
81  { MayNotUse("GetFileGroupList"); return 0;}
82  virtual TEntryList *GetEntryList(const char *)
83  { MayNotUse("GetEntryList"); return 0;}
84  virtual UInt_t GetNofGroups() const
85  { MayNotUse("GetNofGroups"); return 0;}
86  virtual UInt_t GetNofGroupfiles() const
87  { MayNotUse("GetNofGroupfiles"); return 0;}
88  virtual Bool_t OverlapCollection(TGridCollection *)
89  { MayNotUse("OverlapCollection"); return 0;}
90  virtual void Add(TGridCollection *)
91  { MayNotUse("Add");}
92  virtual Bool_t Stage(Bool_t /*bulk*/ = kFALSE, Option_t * /*TFileStager option*/ = "")
93  { MayNotUse("Stage"); return kFALSE;}
94  virtual Bool_t Prepare(Bool_t /*bulk*/ = kFALSE)
95  { MayNotUse("Prepare"); return kFALSE;}
96  virtual Bool_t CheckIfOnline(Bool_t /*bulk*/ = kFALSE)
97  { MayNotUse("CheckIfOnline"); return kFALSE;}
98  virtual TDSet *GetDataset(const char *, const char * , const char *)
99  { MayNotUse("GetDataset"); return 0;}
100  virtual TGridResult *GetGridResult(const char * /*filename*/ = "", Bool_t /*onlyonline*/ = kTRUE , Bool_t /*publicaccess*/ = kFALSE )
101  { MayNotUse("GetGridResult"); return 0;}
102  virtual Bool_t LookupSUrls(Bool_t /*verbose*/ = kTRUE)
103  { MayNotUse("LookupSUrls"); return kFALSE;}
104  virtual TList *GetTagFilterList() const
105  { MayNotUse("GetTagFilterList"); return 0;}
106  virtual void SetTagFilterList(TList *)
107  { MayNotUse("SetTagFilterList");}
108  virtual const char* GetCollectionName() const
109  { MayNotUse("GetCollectionName"); return 0;}
110  virtual const char* GetInfoComment() const
111  { MayNotUse("GetInfoComment"); return 0;}
112  virtual TFileCollection* GetFileCollection(const char* /*name*/ = "", const char* /*title*/ = "") const
113  { MayNotUse("GetFileCollection"); return 0;}
114 
115  ClassDef(TGridCollection,1) // ABC managing collection of files on the Grid
116 };
117 
118 #endif