TGridCollection.h

Go to the documentation of this file.
00001 // @(#)root/net:$Id: TGridCollection.h 23091 2008-04-09 15:04:27Z rdm $
00002 // Author: Andreas-Joachim Peters 2005-05-09
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TGridCollection
00013 #define ROOT_TGridCollection
00014 
00015 //////////////////////////////////////////////////////////////////////////
00016 //                                                                      //
00017 // TGridCollection                                                      //
00018 //                                                                      //
00019 // Class which manages collection files on the Grid.                    //
00020 //                                                                      //
00021 //////////////////////////////////////////////////////////////////////////
00022 
00023 #ifndef ROOT_TObject
00024 #include "TObject.h"
00025 #endif
00026 
00027 class TMap;
00028 class TFile;
00029 class TEntryList;
00030 class TList;
00031 class TDSet;
00032 class TGridResult;
00033 class TFileCollection;
00034 
00035 
00036 class TGridCollection : public TObject {
00037 public:
00038    TGridCollection() { }
00039    virtual ~TGridCollection() { }
00040 
00041    virtual void         Reset()
00042       { MayNotUse("Reset"); }
00043    virtual TMap        *Next()
00044       { MayNotUse("Next"); return 0;}
00045    virtual Bool_t       Remove(TMap *)
00046       { MayNotUse("Remove"); return 0;}
00047    virtual const char  *GetTURL(const char * /*name*/ = "")
00048       { MayNotUse("GetTURL"); return 0;}
00049    virtual const char  *GetSURL(const char * /*name*/ = "")
00050       { MayNotUse("GetSURL"); return 0;}
00051    virtual const char  *GetLFN(const char * /*name*/ = "")
00052       { MayNotUse("GetLFN"); return 0;}
00053    virtual Long64_t    GetSize(const char * /*name*/ = "")
00054       { MayNotUse("GetSize"); return -1;}
00055    virtual Bool_t      IsOnline(const char * /*name*/ = "")
00056       { MayNotUse("IsOnline"); return 0;}
00057    virtual Bool_t      IsSelected(const char * /*name*/ = "")
00058       { MayNotUse("IsSelected"); return 0;}
00059    virtual void        Status()
00060       { MayNotUse("Status"); }
00061    virtual void        SetTag(const char * , const char * , TMap* )
00062       { MayNotUse("SetTag"); }
00063    virtual Bool_t      SelectFile(const char *, Int_t /*nstart*/ = -1 , Int_t /*nstop*/ = -1)
00064       { MayNotUse("SelectFile"); return kFALSE;}
00065    virtual Bool_t      DeselectFile(const char *, Int_t /*nstart*/ = -1, Int_t /*nstop*/ = -1)
00066       { MayNotUse("DeselectFile"); return kFALSE;}
00067    virtual Bool_t      InvertSelection()
00068       { MayNotUse("InvertSelection"); return kFALSE;}
00069    virtual Bool_t      DownscaleSelection(UInt_t /* scaler */ = 2)
00070       { MayNotUse("DownscaleSelection"); return kFALSE;}
00071    virtual Bool_t      ExportXML(const char *, Bool_t /*selected*/ = kTRUE, Bool_t /*online*/ = kTRUE,
00072                                  const char * /*name*/ = "ROOT xml", const char * /*comment*/ = "Exported XML")
00073       { MayNotUse("ExportXML"); return kFALSE;}
00074    virtual const char* GetExportUrl()
00075       { MayNotUse("GetExportUrl"); return 0;}
00076    virtual Bool_t      SetExportUrl(const char * /*exporturl*/ = 0)
00077       { MayNotUse("SetExportUrl"); return kFALSE;}
00078    virtual void         Print(Option_t *) const
00079       { MayNotUse("Print"); }
00080    virtual TFile       *OpenFile(const char *)
00081       { MayNotUse("OpenFile"); return 0;}
00082    virtual TList       *GetFileGroupList() const
00083       { MayNotUse("GetFileGroupList"); return 0;}
00084    virtual TEntryList  *GetEntryList(const char *)
00085       { MayNotUse("GetEntryList"); return 0;}
00086    virtual UInt_t       GetNofGroups() const
00087       { MayNotUse("GetNofGroups"); return 0;}
00088    virtual UInt_t       GetNofGroupfiles() const
00089       { MayNotUse("GetNofGroupfiles"); return 0;}
00090    virtual Bool_t       OverlapCollection(TGridCollection *)
00091       { MayNotUse("OverlapCollection"); return 0;}
00092    virtual void         Add(TGridCollection *)
00093       { MayNotUse("Add");}
00094    virtual Bool_t       Stage(Bool_t /*bulk*/ = kFALSE, Option_t * /*TFileStager option*/ = "")
00095       { MayNotUse("Stage"); return kFALSE;}
00096    virtual Bool_t       Prepare(Bool_t /*bulk*/ = kFALSE)
00097       { MayNotUse("Prepare"); return kFALSE;}
00098    virtual Bool_t       CheckIfOnline(Bool_t /*bulk*/ = kFALSE)
00099       { MayNotUse("CheckIfOnline"); return kFALSE;}
00100    virtual TDSet       *GetDataset(const char *, const char * , const char *)
00101       { MayNotUse("GetDataset"); return 0;}
00102    virtual TGridResult *GetGridResult(const char * /*filename*/ = "", Bool_t /*onlyonline*/ = kTRUE , Bool_t /*publicaccess*/ = kFALSE )
00103       { MayNotUse("GetGridResult"); return 0;}
00104    virtual Bool_t       LookupSUrls(Bool_t /*verbose*/ = kTRUE)
00105       { MayNotUse("LookupSUrls"); return kFALSE;}
00106    virtual TList       *GetTagFilterList() const
00107       { MayNotUse("GetTagFilterList"); return 0;}
00108    virtual void         SetTagFilterList(TList *)
00109       { MayNotUse("SetTagFilterList");}
00110    virtual const char* GetCollectionName() const
00111       { MayNotUse("GetCollectionName"); return 0;}
00112    virtual const char* GetInfoComment() const
00113       { MayNotUse("GetInfoComment"); return 0;}
00114    virtual TFileCollection* GetFileCollection(const char* /*name*/ = "", const char* /*title*/ = "") const
00115       { MayNotUse("GetFileCollection"); return 0;}
00116 
00117    ClassDef(TGridCollection,1)  // ABC managing collection of files on the Grid
00118 };
00119 
00120 #endif

Generated on Tue Jul 5 14:26:57 2011 for ROOT_528-00b_version by  doxygen 1.5.1