00001 // @(#)root/net:$Id: TGridResult.h 23091 2008-04-09 15:04:27Z rdm $ 00002 // Author: Fons Rademakers 3/1/2002 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2002, 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_TGridResult 00013 #define ROOT_TGridResult 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // // 00017 // TGridResult // 00018 // // 00019 // Abstract base class defining interface to a GRID result. // 00020 // Objects of this class are created by TGrid methods. // 00021 // // 00022 // Related classes are TGrid. // 00023 // // 00024 ////////////////////////////////////////////////////////////////////////// 00025 00026 #ifndef ROOT_TList 00027 #include "TList.h" 00028 #endif 00029 00030 class TEntryList; 00031 00032 00033 class TGridResult : public TList { 00034 00035 public: 00036 TGridResult() : TList() { SetOwner(kTRUE); } 00037 virtual ~TGridResult() { } 00038 00039 virtual const char *GetFileName(UInt_t) const 00040 { MayNotUse("GetFileName"); return 0; } 00041 virtual const char *GetFileNamePath(UInt_t) const 00042 { MayNotUse("GetFileNamePath"); return 0; } 00043 virtual const char *GetPath(UInt_t) const 00044 { MayNotUse("GetPath"); return 0; } 00045 virtual const TEntryList *GetEntryList(UInt_t) const 00046 { MayNotUse("GetEntryList"); return 0; } 00047 virtual const char *GetKey(UInt_t, const char*) const 00048 { MayNotUse("GetKey"); return 0; } 00049 virtual Bool_t SetKey(UInt_t, const char*, const char*) 00050 { MayNotUse("SetKey"); return 0; } 00051 virtual TList *GetFileInfoList() const 00052 { MayNotUse("GetFileInfoList"); return 0; } 00053 00054 ClassDef(TGridResult,1) // ABC defining interface to GRID result set 00055 }; 00056 00057 #endif