ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
net
net
inc
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
#ifndef ROOT_TList
27
#include "
TList.h
"
28
#endif
29
30
class
TEntryList
;
31
32
33
class
TGridResult
:
public
TList
{
34
35
public
:
36
TGridResult
() :
TList
() {
SetOwner
(
kTRUE
); }
37
virtual
~TGridResult
() { }
38
39
virtual
const
char
*
GetFileName
(
UInt_t
)
const
40
{
MayNotUse
(
"GetFileName"
);
return
0; }
41
virtual
const
char
*
GetFileNamePath
(
UInt_t
)
const
42
{
MayNotUse
(
"GetFileNamePath"
);
return
0; }
43
virtual
const
char
*
GetPath
(
UInt_t
)
const
44
{
MayNotUse
(
"GetPath"
);
return
0; }
45
virtual
const
TEntryList
*
GetEntryList
(
UInt_t
)
const
46
{
MayNotUse
(
"GetEntryList"
);
return
0; }
47
virtual
const
char
*
GetKey
(
UInt_t
,
const
char
*)
const
48
{
MayNotUse
(
"GetKey"
);
return
0; }
49
virtual
Bool_t
SetKey
(
UInt_t
,
const
char
*,
const
char
*)
50
{
MayNotUse
(
"SetKey"
);
return
0; }
51
virtual
TList
*
GetFileInfoList
()
const
52
{
MayNotUse
(
"GetFileInfoList"
);
return
0; }
53
54
ClassDef
(
TGridResult
,1)
// ABC defining interface to GRID result set
55
};
56
57
#endif
TGridResult
Definition:
TGridResult.h:33
TCollection::SetOwner
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
Definition:
TCollection.cxx:600
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:971
TGridResult::GetFileName
virtual const char * GetFileName(UInt_t) const
Definition:
TGridResult.h:39
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TGridResult::~TGridResult
virtual ~TGridResult()
Definition:
TGridResult.h:37
TGridResult::TGridResult
TGridResult()
Definition:
TGridResult.h:36
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TGridResult::GetFileInfoList
virtual TList * GetFileInfoList() const
Definition:
TGridResult.h:51
TList.h
TList
A doubly linked list.
Definition:
TList.h:47
TGridResult::GetFileNamePath
virtual const char * GetFileNamePath(UInt_t) const
Definition:
TGridResult.h:41
UInt_t
unsigned int UInt_t
Definition:
RtypesCore.h:42
TGridResult::GetPath
virtual const char * GetPath(UInt_t) const
Definition:
TGridResult.h:43
TGridResult::SetKey
virtual Bool_t SetKey(UInt_t, const char *, const char *)
Definition:
TGridResult.h:49
TGridResult::GetEntryList
virtual const TEntryList * GetEntryList(UInt_t) const
Definition:
TGridResult.h:45
TGridResult::GetKey
virtual const char * GetKey(UInt_t, const char *) const
Definition:
TGridResult.h:47
kTRUE
const Bool_t kTRUE
Definition:
Rtypes.h:91
TEntryList
A List of entry numbers in a TTree or TChain.
Definition:
TEntryList.h:27