Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGridResult.h
Go to the documentation of this file.
1// @(#)root/net:$Id$
2// Author: Fons Rademakers 3/1/2002
3
4/*************************************************************************
5 * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TGridResult
13#define ROOT_TGridResult
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// TGridResult //
18// //
19// Abstract base class defining interface to a GRID result. //
20// Objects of this class are created by TGrid methods. //
21// //
22// Related classes are TGrid. //
23// //
24//////////////////////////////////////////////////////////////////////////
25
26#include "TList.h"
27
28class TEntryList;
29
30namespace ROOT::Deprecated {
31
32class TGridResult : public TList {
33
34public:
36 virtual ~TGridResult() { }
37
38 virtual const char *GetFileName(UInt_t) const
39 { MayNotUse("GetFileName"); return nullptr; }
40 virtual const char *GetFileNamePath(UInt_t) const
41 { MayNotUse("GetFileNamePath"); return nullptr; }
42 virtual const char *GetPath(UInt_t) const
43 { MayNotUse("GetPath"); return nullptr; }
44 virtual const TEntryList *GetEntryList(UInt_t) const
45 { MayNotUse("GetEntryList"); return nullptr; }
46 virtual const char *GetKey(UInt_t, const char*) const
47 { MayNotUse("GetKey"); return nullptr; }
48 virtual Bool_t SetKey(UInt_t, const char*, const char*)
49 { MayNotUse("SetKey"); return kFALSE; }
50 virtual TList *GetFileInfoList() const
51 { MayNotUse("GetFileInfoList"); return nullptr; }
52
53 ClassDefOverride(TGridResult,1) // ABC defining interface to GRID result set
54};
55
56} // namespace ROOT::Deprecated
57
58using TGridResult R__DEPRECATED(6, 42, "TGridResult is expected to be unused and thus deprecated") =
60
61#endif
#define R__DEPRECATED(MAJOR, MINOR, REASON)
Definition RConfig.hxx:510
constexpr Bool_t kFALSE
Definition RtypesCore.h:108
constexpr Bool_t kTRUE
Definition RtypesCore.h:107
#define ClassDefOverride(name, id)
Definition Rtypes.h:348
virtual const char * GetKey(UInt_t, const char *) const
Definition TGridResult.h:46
virtual const TEntryList * GetEntryList(UInt_t) const
Definition TGridResult.h:44
virtual const char * GetPath(UInt_t) const
Definition TGridResult.h:42
virtual const char * GetFileName(UInt_t) const
Definition TGridResult.h:38
virtual TList * GetFileInfoList() const
Definition TGridResult.h:50
virtual const char * GetFileNamePath(UInt_t) const
Definition TGridResult.h:40
virtual Bool_t SetKey(UInt_t, const char *, const char *)
Definition TGridResult.h:48
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
A List of entry numbers in a TTree or TChain.
Definition TEntryList.h:26
A doubly linked list.
Definition TList.h:38
void MayNotUse(const char *method) const
Use this method to signal that a method (defined in a base class) may not be called in a derived clas...
Definition TObject.cxx:1157