// @(#)root/net:$Id$ // Author: Fons Rademakers 3/1/2002 /************************************************************************* * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ #ifndef ROOT_TGridResult #define ROOT_TGridResult ////////////////////////////////////////////////////////////////////////// // // // TGridResult // // // // Abstract base class defining interface to a GRID result. // // Objects of this class are created by TGrid methods. // // // // Related classes are TGrid. // // // ////////////////////////////////////////////////////////////////////////// #include "TList.h" class TEntryList; class TGridResult : public TList { public: TGridResult() : TList() { SetOwner(kTRUE); } virtual ~TGridResult() { } virtual const char *GetFileName(UInt_t) const { MayNotUse("GetFileName"); return nullptr; } virtual const char *GetFileNamePath(UInt_t) const { MayNotUse("GetFileNamePath"); return nullptr; } virtual const char *GetPath(UInt_t) const { MayNotUse("GetPath"); return nullptr; } virtual const TEntryList *GetEntryList(UInt_t) const { MayNotUse("GetEntryList"); return nullptr; } virtual const char *GetKey(UInt_t, const char*) const { MayNotUse("GetKey"); return nullptr; } virtual Bool_t SetKey(UInt_t, const char*, const char*) { MayNotUse("SetKey"); return kFALSE; } virtual TList *GetFileInfoList() const { MayNotUse("GetFileInfoList"); return nullptr; } ClassDefOverride(TGridResult,1) // ABC defining interface to GRID result set }; #endif