TAlienResult.h

Go to the documentation of this file.
00001 // @(#)root/alien:$Id: TAlienResult.h 25128 2008-08-12 17:59:19Z pcanal $
00002 // Author: Fons Rademakers   3/1/2002
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TAlienResult
00013 #define ROOT_TAlienResult
00014 
00015 //////////////////////////////////////////////////////////////////////////
00016 //                                                                      //
00017 // TAlienResult                                                         //
00018 //                                                                      //
00019 // Class defining interface to a Alien result set.                      //
00020 // Objects of this class are created by TGrid methods.                  //
00021 //                                                                      //
00022 // Related classes are TAlien.                                          //
00023 //                                                                      //
00024 //////////////////////////////////////////////////////////////////////////
00025 
00026 #ifndef ROOT_TGridResult
00027 #include "TGridResult.h"
00028 #endif
00029 
00030 
00031 class TAlienResult : public TGridResult {
00032 
00033 private:
00034    mutable TString fFilePath;  // file path
00035 
00036 public:
00037    virtual ~TAlienResult();
00038 
00039    virtual void DumpResult();
00040    virtual const char       *GetFileName(UInt_t i) const;             // returns the file name of list item i
00041    virtual const char       *GetFileNamePath(UInt_t i) const;         // returns the full path + file name of list item i
00042    virtual const TEntryList *GetEntryList(UInt_t i) const;            // returns an entry list, if it is defined
00043    virtual const char       *GetPath(UInt_t i) const;                 // returns the file path of list item i
00044    virtual const char       *GetKey(UInt_t i, const char *key) const; // returns the key value of list item i
00045    virtual Bool_t            SetKey(UInt_t i, const char *key, const char *value); // set the key value of list item i
00046    virtual TList            *GetFileInfoList() const;                 // returns a new allocated List of TFileInfo Objects
00047    using                     TCollection::Print;
00048    virtual void              Print(Option_t *option = "") const;
00049 
00050    ClassDef(TAlienResult,0)  // Alien query result set
00051 };
00052 
00053 #endif

Generated on Tue Jul 5 14:45:28 2011 for ROOT_528-00b_version by  doxygen 1.5.1