Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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