Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TGridCollection.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/net:$Id$
0002 // Author: Andreas-Joachim Peters 2005-05-09
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TGridCollection
0013 #define ROOT_TGridCollection
0014 
0015 //////////////////////////////////////////////////////////////////////////
0016 //                                                                      //
0017 // TGridCollection                                                      //
0018 //                                                                      //
0019 // Class which manages collection files on the Grid.                    //
0020 //                                                                      //
0021 //////////////////////////////////////////////////////////////////////////
0022 
0023 #include "TObject.h"
0024 
0025 class TMap;
0026 class TFile;
0027 class TEntryList;
0028 class TList;
0029 class TDSet;
0030 class TGridResult;
0031 class TFileCollection;
0032 
0033 
0034 class TGridCollection : public TObject {
0035 public:
0036    TGridCollection() { }
0037    virtual ~TGridCollection() { }
0038 
0039    virtual void         Reset()
0040       { MayNotUse("Reset"); }
0041    virtual TMap        *Next()
0042       { MayNotUse("Next"); return nullptr;}
0043    virtual Bool_t       Remove(TMap *)
0044       { MayNotUse("Remove"); return 0;}
0045    virtual const char  *GetTURL(const char * /*name*/ = "")
0046       { MayNotUse("GetTURL"); return nullptr;}
0047    virtual const char  *GetSURL(const char * /*name*/ = "")
0048       { MayNotUse("GetSURL"); return nullptr;}
0049    virtual const char  *GetLFN(const char * /*name*/ = "")
0050       { MayNotUse("GetLFN"); return nullptr;}
0051    virtual Long64_t    GetSize(const char * /*name*/ = "")
0052       { MayNotUse("GetSize"); return -1;}
0053    virtual Bool_t      IsOnline(const char * /*name*/ = "")
0054       { MayNotUse("IsOnline"); return 0;}
0055    virtual Bool_t      IsSelected(const char * /*name*/ = "")
0056       { MayNotUse("IsSelected"); return 0;}
0057    virtual void        Status()
0058       { MayNotUse("Status"); }
0059    virtual void        SetTag(const char * , const char * , TMap* )
0060       { MayNotUse("SetTag"); }
0061    virtual Bool_t      SelectFile(const char *, Int_t /*nstart*/ = -1 , Int_t /*nstop*/ = -1)
0062       { MayNotUse("SelectFile"); return kFALSE;}
0063    virtual Bool_t      DeselectFile(const char *, Int_t /*nstart*/ = -1, Int_t /*nstop*/ = -1)
0064       { MayNotUse("DeselectFile"); return kFALSE;}
0065    virtual Bool_t      InvertSelection()
0066       { MayNotUse("InvertSelection"); return kFALSE;}
0067    virtual Bool_t      DownscaleSelection(UInt_t /* scaler */ = 2)
0068       { MayNotUse("DownscaleSelection"); return kFALSE;}
0069    virtual Bool_t      ExportXML(const char *, Bool_t /*selected*/ = kTRUE, Bool_t /*online*/ = kTRUE,
0070                                  const char * /*name*/ = "ROOT xml", const char * /*comment*/ = "Exported XML")
0071       { MayNotUse("ExportXML"); return kFALSE;}
0072    virtual const char* GetExportUrl()
0073       { MayNotUse("GetExportUrl"); return nullptr;}
0074    virtual Bool_t      SetExportUrl(const char * /*exporturl*/ = nullptr)
0075       { MayNotUse("SetExportUrl"); return kFALSE;}
0076    virtual void         Print(Option_t * = "") const override
0077       { MayNotUse("Print"); }
0078    virtual TFile       *OpenFile(const char *)
0079       { MayNotUse("OpenFile"); return nullptr;}
0080    virtual TList       *GetFileGroupList() const
0081       { MayNotUse("GetFileGroupList"); return nullptr;}
0082    virtual TEntryList  *GetEntryList(const char *)
0083       { MayNotUse("GetEntryList"); return nullptr;}
0084    virtual UInt_t       GetNofGroups() const
0085       { MayNotUse("GetNofGroups"); return 0;}
0086    virtual UInt_t       GetNofGroupfiles() const
0087       { MayNotUse("GetNofGroupfiles"); return 0;}
0088    virtual Bool_t       OverlapCollection(TGridCollection *)
0089       { MayNotUse("OverlapCollection"); return 0;}
0090    virtual void         Add(TGridCollection *)
0091       { MayNotUse("Add");}
0092    virtual Bool_t       Stage(Bool_t /*bulk*/ = kFALSE, Option_t * /*TFileStager option*/ = "")
0093       { MayNotUse("Stage"); return kFALSE;}
0094    virtual Bool_t       Prepare(Bool_t /*bulk*/ = kFALSE)
0095       { MayNotUse("Prepare"); return kFALSE;}
0096    virtual Bool_t       CheckIfOnline(Bool_t /*bulk*/ = kFALSE)
0097       { MayNotUse("CheckIfOnline"); return kFALSE;}
0098    virtual TDSet       *GetDataset(const char *, const char * , const char *)
0099       { MayNotUse("GetDataset"); return nullptr;}
0100    virtual TGridResult *GetGridResult(const char * /*filename*/ = "", Bool_t /*onlyonline*/ = kTRUE , Bool_t /*publicaccess*/ = kFALSE )
0101       { MayNotUse("GetGridResult"); return nullptr;}
0102    virtual Bool_t       LookupSUrls(Bool_t /*verbose*/ = kTRUE)
0103       { MayNotUse("LookupSUrls"); return kFALSE;}
0104    virtual TList       *GetTagFilterList() const
0105       { MayNotUse("GetTagFilterList"); return nullptr;}
0106    virtual void         SetTagFilterList(TList *)
0107       { MayNotUse("SetTagFilterList");}
0108    virtual const char* GetCollectionName() const
0109       { MayNotUse("GetCollectionName"); return nullptr;}
0110    virtual const char* GetInfoComment() const
0111       { MayNotUse("GetInfoComment"); return nullptr;}
0112    virtual TFileCollection* GetFileCollection(const char* /*name*/ = "", const char* /*title*/ = "") const
0113       { MayNotUse("GetFileCollection"); return nullptr;}
0114 
0115    ClassDefOverride(TGridCollection,1)  // ABC managing collection of files on the Grid
0116 };
0117 
0118 #endif