Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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#include "TGridResult.h"
27
28
29class TAlienResult : public TGridResult {
30
31private:
32 mutable TString fFilePath; // file path
33
34public:
35 virtual ~TAlienResult();
36
37 virtual void DumpResult();
38 virtual const char *GetFileName(UInt_t i) const; // returns the file name of list item i
39 virtual const char *GetFileNamePath(UInt_t i) const; // returns the full path + file name of list item i
40 virtual const TEntryList *GetEntryList(UInt_t i) const; // returns an entry list, if it is defined
41 virtual const char *GetPath(UInt_t i) const; // returns the file path of list item i
42 virtual const char *GetKey(UInt_t i, const char *key) const; // returns the key value of list item i
43 virtual Bool_t SetKey(UInt_t i, const char *key, const char *value); // set the key value of list item i
44 virtual TList *GetFileInfoList() const; // returns a new allocated List of TFileInfo Objects
46 virtual void Print(Option_t *option = "") const;
47
48 ClassDef(TAlienResult,0) // Alien query result set
49};
50
51#endif
const char Option_t
Definition RtypesCore.h:66
#define ClassDef(name, id)
Definition Rtypes.h:325
virtual Bool_t SetKey(UInt_t i, const char *key, const char *value)
Set the key.
virtual void Print(Option_t *option="") const
Print the AlienResult info.
virtual const char * GetPath(UInt_t i) const
Return path.
virtual const char * GetFileName(UInt_t i) const
Return a file name.
virtual const TEntryList * GetEntryList(UInt_t i) const
Return the entry list, if evtlist was defined as a tag.
virtual ~TAlienResult()
Cleanup object.
virtual TList * GetFileInfoList() const
Return a file info list.
TString fFilePath
virtual const char * GetKey(UInt_t i, const char *key) const
Return the key.
virtual const char * GetFileNamePath(UInt_t i) const
Return file name path.
virtual void DumpResult()
Dump result set.
virtual void Print(Option_t *option="") const
Default print for collections, calls Print(option, 1).
A List of entry numbers in a TTree or TChain.
Definition TEntryList.h:26
A doubly linked list.
Definition TList.h:38
Basic string class.
Definition TString.h:136