ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
net
alien
inc
TAlienResult.h
Go to the documentation of this file.
1
// @(#)root/alien:$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_TAlienResult
13
#define ROOT_TAlienResult
14
15
//////////////////////////////////////////////////////////////////////////
16
// //
17
// TAlienResult //
18
// //
19
// Class defining interface to a Alien result set. //
20
// Objects of this class are created by TGrid methods. //
21
// //
22
// Related classes are TAlien. //
23
// //
24
//////////////////////////////////////////////////////////////////////////
25
26
#ifndef ROOT_TGridResult
27
#include "
TGridResult.h
"
28
#endif
29
30
31
class
TAlienResult
:
public
TGridResult
{
32
33
private
:
34
mutable
TString
fFilePath
;
// file path
35
36
public
:
37
virtual
~TAlienResult
();
38
39
virtual
void
DumpResult
();
40
virtual
const
char
*
GetFileName
(
UInt_t
i)
const
;
// returns the file name of list item i
41
virtual
const
char
*
GetFileNamePath
(
UInt_t
i)
const
;
// returns the full path + file name of list item i
42
virtual
const
TEntryList
*
GetEntryList
(
UInt_t
i)
const
;
// returns an entry list, if it is defined
43
virtual
const
char
*
GetPath
(
UInt_t
i)
const
;
// returns the file path of list item i
44
virtual
const
char
*
GetKey
(
UInt_t
i,
const
char
*key)
const
;
// returns the key value of list item i
45
virtual
Bool_t
SetKey
(
UInt_t
i,
const
char
*key,
const
char
*
value
);
// set the key value of list item i
46
virtual
TList
*
GetFileInfoList
()
const
;
// returns a new allocated List of TFileInfo Objects
47
using
TCollection::Print
;
48
virtual
void
Print
(
Option_t
*option =
""
)
const
;
49
50
ClassDef
(
TAlienResult
,0)
// Alien query result set
51
};
52
53
#endif
TGridResult
Definition:
TGridResult.h:33
Option_t
const char Option_t
Definition:
RtypesCore.h:62
TString
Basic string class.
Definition:
TString.h:137
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TAlienResult::Print
virtual void Print(Option_t *option="") const
Print the AlienResult info.
Definition:
TAlienResult.cxx:216
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TAlienResult::SetKey
virtual Bool_t SetKey(UInt_t i, const char *key, const char *value)
Set the key.
Definition:
TAlienResult.cxx:154
TGridResult.h
TAlienResult::GetFileInfoList
virtual TList * GetFileInfoList() const
Return a file info list.
Definition:
TAlienResult.cxx:173
TList
A doubly linked list.
Definition:
TList.h:47
TAlienResult::DumpResult
virtual void DumpResult()
Dump result set.
Definition:
TAlienResult.cxx:50
UInt_t
unsigned int UInt_t
Definition:
RtypesCore.h:42
TAlienResult::GetEntryList
virtual const TEntryList * GetEntryList(UInt_t i) const
Return the entry list, if evtlist was defined as a tag.
Definition:
TAlienResult.cxx:93
TCollection::Print
virtual void Print(Option_t *option="") const
Default print for collections, calls Print(option, 1).
Definition:
TCollection.cxx:329
TAlienResult::GetKey
virtual const char * GetKey(UInt_t i, const char *key) const
Return the key.
Definition:
TAlienResult.cxx:140
TAlienResult::fFilePath
TString fFilePath
Definition:
TAlienResult.h:34
TAlienResult::GetPath
virtual const char * GetPath(UInt_t i) const
Return path.
Definition:
TAlienResult.cxx:126
TAlienResult::GetFileNamePath
virtual const char * GetFileNamePath(UInt_t i) const
Return file name path.
Definition:
TAlienResult.cxx:107
TAlienResult
Definition:
TAlienResult.h:31
value
float value
Definition:
math.cpp:443
TEntryList
A List of entry numbers in a TTree or TChain.
Definition:
TEntryList.h:27
TAlienResult::GetFileName
virtual const char * GetFileName(UInt_t i) const
Return a file name.
Definition:
TAlienResult.cxx:79
TAlienResult::~TAlienResult
virtual ~TAlienResult()