Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-13 09:26:03

0001 // @(#)root/net:$Id$
0002 // Author: Fons Rademakers   3/1/2002
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2002, 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_TGridResult
0013 #define ROOT_TGridResult
0014 
0015 //////////////////////////////////////////////////////////////////////////
0016 //                                                                      //
0017 // TGridResult                                                          //
0018 //                                                                      //
0019 // Abstract base class defining interface to a GRID result.             //
0020 // Objects of this class are created by TGrid methods.                  //
0021 //                                                                      //
0022 // Related classes are TGrid.                                           //
0023 //                                                                      //
0024 //////////////////////////////////////////////////////////////////////////
0025 
0026 #include "TList.h"
0027 
0028 class TEntryList;
0029 
0030 namespace ROOT::Deprecated {
0031 
0032 class TGridResult : public TList {
0033 
0034 public:
0035    TGridResult() : TList() { SetOwner(kTRUE); }
0036    virtual ~TGridResult() { }
0037 
0038    virtual const char *GetFileName(UInt_t) const
0039       { MayNotUse("GetFileName"); return nullptr; }
0040    virtual const char *GetFileNamePath(UInt_t) const
0041       { MayNotUse("GetFileNamePath"); return nullptr; }
0042    virtual const char *GetPath(UInt_t) const
0043       { MayNotUse("GetPath"); return nullptr; }
0044    virtual const TEntryList *GetEntryList(UInt_t) const
0045       { MayNotUse("GetEntryList"); return nullptr; }
0046    virtual const char *GetKey(UInt_t, const char*) const
0047       { MayNotUse("GetKey"); return nullptr; }
0048    virtual Bool_t      SetKey(UInt_t, const char*, const char*)
0049       { MayNotUse("SetKey"); return kFALSE; }
0050    virtual TList      *GetFileInfoList() const
0051       { MayNotUse("GetFileInfoList"); return nullptr; }
0052 
0053    ClassDefOverride(TGridResult,1)  // ABC defining interface to GRID result set
0054 };
0055 
0056 } // namespace ROOT::Deprecated
0057 
0058 using TGridResult R__DEPRECATED(6, 42, "TGridResult is expected to be unused and thus deprecated") =
0059    ROOT::Deprecated::TGridResult;
0060 
0061 #endif