Logo ROOT  
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 #include "TGridResult.h"
27 
28 
29 class TAlienResult : public TGridResult {
30 
31 private:
32  mutable TString fFilePath; // file path
33 
34 public:
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
45  using TCollection::Print;
46  virtual void Print(Option_t *option = "") const;
47 
48  ClassDef(TAlienResult,0) // Alien query result set
49 };
50 
51 #endif
TCollection::Print
virtual void Print(Option_t *option="") const
Default print for collections, calls Print(option, 1).
Definition: TCollection.cxx:476
Option_t
const char Option_t
Definition: RtypesCore.h:66
TAlienResult::SetKey
virtual Bool_t SetKey(UInt_t i, const char *key, const char *value)
Set the key.
Definition: TAlienResult.cxx:154
TAlienResult::GetFileNamePath
virtual const char * GetFileNamePath(UInt_t i) const
Return file name path.
Definition: TAlienResult.cxx:107
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
TString
Basic string class.
Definition: TString.h:136
bool
TAlienResult::GetPath
virtual const char * GetPath(UInt_t i) const
Return path.
Definition: TAlienResult.cxx:126
TAlienResult::GetFileName
virtual const char * GetFileName(UInt_t i) const
Return a file name.
Definition: TAlienResult.cxx:79
TGridResult.h
TAlienResult::GetFileInfoList
virtual TList * GetFileInfoList() const
Return a file info list.
Definition: TAlienResult.cxx:173
TGridResult
Definition: TGridResult.h:31
TAlienResult::fFilePath
TString fFilePath
Definition: TAlienResult.h:32
unsigned int
TEntryList
A List of entry numbers in a TTree or TChain.
Definition: TEntryList.h:26
TAlienResult::DumpResult
virtual void DumpResult()
Dump result set.
Definition: TAlienResult.cxx:50
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TAlienResult
Definition: TAlienResult.h:29
TAlienResult::Print
virtual void Print(Option_t *option="") const
Default print for collections, calls Print(option, 1).
Definition: TCollection.cxx:476
TAlienResult::~TAlienResult
virtual ~TAlienResult()
Cleanup object.
Definition: TAlienResult.cxx:39
TList
A doubly linked list.
Definition: TList.h:44
TAlienResult::GetKey
virtual const char * GetKey(UInt_t i, const char *key) const
Return the key.
Definition: TAlienResult.cxx:140