Logo ROOT   6.08/07
Reference Guide
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
virtual TList * GetFileInfoList() const
Return a file info list.
const char Option_t
Definition: RtypesCore.h:62
Basic string class.
Definition: TString.h:137
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual Bool_t SetKey(UInt_t i, const char *key, const char *value)
Set the key.
virtual const char * GetFileNamePath(UInt_t i) const
Return file name path.
virtual ~TAlienResult()
Cleanup object.
virtual void Print(Option_t *option="") const
Print the AlienResult info.
virtual const TEntryList * GetEntryList(UInt_t i) const
Return the entry list, if evtlist was defined as a tag.
A doubly linked list.
Definition: TList.h:47
virtual const char * GetPath(UInt_t i) const
Return path.
virtual void DumpResult()
Dump result set.
unsigned int UInt_t
Definition: RtypesCore.h:42
virtual const char * GetFileName(UInt_t i) const
Return a file name.
TString fFilePath
Definition: TAlienResult.h:34
virtual const char * GetKey(UInt_t i, const char *key) const
Return the key.
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:27