ROOT
master
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
28
class
TEntryList
;
29
30
31
class
TGridResult
:
public
TList
{
32
33
public
:
34
TGridResult
() :
TList
() {
SetOwner
(
kTRUE
); }
35
virtual
~TGridResult
() { }
36
37
virtual
const
char
*
GetFileName
(
UInt_t
)
const
38
{
MayNotUse
(
"GetFileName"
);
return
nullptr
; }
39
virtual
const
char
*
GetFileNamePath
(
UInt_t
)
const
40
{
MayNotUse
(
"GetFileNamePath"
);
return
nullptr
; }
41
virtual
const
char
*
GetPath
(
UInt_t
)
const
42
{
MayNotUse
(
"GetPath"
);
return
nullptr
; }
43
virtual
const
TEntryList
*
GetEntryList
(
UInt_t
)
const
44
{
MayNotUse
(
"GetEntryList"
);
return
nullptr
; }
45
virtual
const
char
*
GetKey
(
UInt_t
,
const
char
*)
const
46
{
MayNotUse
(
"GetKey"
);
return
nullptr
; }
47
virtual
Bool_t
SetKey
(
UInt_t
,
const
char
*,
const
char
*)
48
{
MayNotUse
(
"SetKey"
);
return
kFALSE
; }
49
virtual
TList
*
GetFileInfoList
()
const
50
{
MayNotUse
(
"GetFileInfoList"
);
return
nullptr
; }
51
52
ClassDefOverride
(
TGridResult
,1)
// ABC defining interface to GRID result set
53
};
54
55
#endif
kFALSE
constexpr Bool_t kFALSE
Definition
RtypesCore.h:94
kTRUE
constexpr Bool_t kTRUE
Definition
RtypesCore.h:93
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
TList.h
TCollection::SetOwner
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
Definition
TCollection.cxx:746
TEntryList
A List of entry numbers in a TTree or TChain.
Definition
TEntryList.h:26
TGridResult
Definition
TGridResult.h:31
TGridResult::GetFileNamePath
virtual const char * GetFileNamePath(UInt_t) const
Definition
TGridResult.h:39
TGridResult::TGridResult
TGridResult()
Definition
TGridResult.h:34
TGridResult::SetKey
virtual Bool_t SetKey(UInt_t, const char *, const char *)
Definition
TGridResult.h:47
TGridResult::GetEntryList
virtual const TEntryList * GetEntryList(UInt_t) const
Definition
TGridResult.h:43
TGridResult::GetKey
virtual const char * GetKey(UInt_t, const char *) const
Definition
TGridResult.h:45
TGridResult::GetFileInfoList
virtual TList * GetFileInfoList() const
Definition
TGridResult.h:49
TGridResult::GetPath
virtual const char * GetPath(UInt_t) const
Definition
TGridResult.h:41
TGridResult::GetFileName
virtual const char * GetFileName(UInt_t) const
Definition
TGridResult.h:37
TGridResult::~TGridResult
virtual ~TGridResult()
Definition
TGridResult.h:35
TList
A doubly linked list.
Definition
TList.h:38
TObject::MayNotUse
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:1058
bool
unsigned int
net
net
inc
TGridResult.h
ROOT master - Reference Guide Generated on Thu Dec 19 2024 09:46:40 (GVA Time) using Doxygen 1.9.8