Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TGridResult.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: 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 
0031 class TGridResult : public TList {
0032 
0033 public:
0034    TGridResult() : TList() { SetOwner(kTRUE); }
0035    virtual ~TGridResult() { }
0036 
0037    virtual const char *GetFileName(UInt_t) const
0038       { MayNotUse("GetFileName"); return nullptr; }
0039    virtual const char *GetFileNamePath(UInt_t) const
0040       { MayNotUse("GetFileNamePath"); return nullptr; }
0041    virtual const char *GetPath(UInt_t) const
0042       { MayNotUse("GetPath"); return nullptr; }
0043    virtual const TEntryList *GetEntryList(UInt_t) const
0044       { MayNotUse("GetEntryList"); return nullptr; }
0045    virtual const char *GetKey(UInt_t, const char*) const
0046       { MayNotUse("GetKey"); return nullptr; }
0047    virtual Bool_t      SetKey(UInt_t, const char*, const char*)
0048       { MayNotUse("SetKey"); return kFALSE; }
0049    virtual TList      *GetFileInfoList() const
0050       { MayNotUse("GetFileInfoList"); return nullptr; }
0051 
0052    ClassDefOverride(TGridResult,1)  // ABC defining interface to GRID result set
0053 };
0054 
0055 #endif