TGLiteResult.h

Go to the documentation of this file.
00001 // @(#) root/glite:$Id: TGLiteResult.h 21921 2008-01-30 12:22:11Z rdm $
00002 // Author: Anar Manafov <A.Manafov@gsi.de> 2006-07-30
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2008, 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 /************************************************************************/
00013 /*! \file TGLiteresult.h
00014 *//*
00015 
00016          version number:    $LastChangedRevision: 1678 $
00017          created by:        Anar Manafov
00018                             2006-07-30
00019          last changed by:   $LastChangedBy: manafov $ $LastChangedDate: 2008-01-21 18:22:14 +0100 (Mon, 21 Jan 2008) $
00020 
00021          Copyright (c) 2006 GSI GridTeam. All rights reserved.
00022 *************************************************************************/
00023 
00024 #ifndef ROOT_TGLiteResult
00025 #define ROOT_TGLiteResult
00026 
00027 //////////////////////////////////////////////////////////////////////////
00028 //                                                                      //
00029 // TGLiteResult                                                         //
00030 //                                                                      //
00031 // Class defining interface to a gLite result set.                      //
00032 // Objects of this class are created by TGrid methods.                  //
00033 //                                                                      //
00034 // Related classes are TGLite.                                          //
00035 //                                                                      //
00036 //////////////////////////////////////////////////////////////////////////
00037 
00038 #ifndef ROOT_TGridResult
00039 #include "TGridResult.h"
00040 #endif
00041 
00042 class TGLiteResult : public TGridResult
00043 {
00044 public:
00045    virtual void DumpResult();
00046 
00047    virtual const char* GetFileName(UInt_t i) const;               // returns the file name of list item i
00048    virtual const char* GetFileNamePath(UInt_t i) const;           // returns the full path + file name of list item i
00049    virtual const char* GetPath(UInt_t i) const;                   // returns the file path of list item i
00050    virtual const char* GetKey(UInt_t i, const char *key) const;   // returns the key value of list item i
00051 
00052    virtual Bool_t SetKey(UInt_t i, const char *key, const char *value);   // set the key value of list item i
00053    virtual TList* GetFileInfoList() const;                 // returns a new allocated List of TFileInfo Objects
00054 
00055    void Print(Option_t *option = "") const;
00056    void Print(Option_t *wildcard, Option_t *option) const;
00057 
00058    ClassDef(TGLiteResult, 1) // gLite query result set
00059 };
00060 
00061 #endif

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