ROOT  6.06/09
Reference Guide
TGLiteResult.h
Go to the documentation of this file.
1 // @(#) root/glite:$Id$
2 // Author: Anar Manafov <A.Manafov@gsi.de> 2006-07-30
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2008, 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 /************************************************************************/
13 /*! \file TGLiteresult.h
14 *//*
15 
16  version number: $LastChangedRevision: 1678 $
17  created by: Anar Manafov
18  2006-07-30
19  last changed by: $LastChangedBy: manafov $ $LastChangedDate: 2008-01-21 18:22:14 +0100 (Mon, 21 Jan 2008) $
20 
21  Copyright (c) 2006 GSI GridTeam. All rights reserved.
22 *************************************************************************/
23 
24 #ifndef ROOT_TGLiteResult
25 #define ROOT_TGLiteResult
26 
27 //////////////////////////////////////////////////////////////////////////
28 // //
29 // TGLiteResult //
30 // //
31 // Class defining interface to a gLite result set. //
32 // Objects of this class are created by TGrid methods. //
33 // //
34 // Related classes are TGLite. //
35 // //
36 //////////////////////////////////////////////////////////////////////////
37 
38 #ifndef ROOT_TGridResult
39 #include "TGridResult.h"
40 #endif
41 
42 class TGLiteResult : public TGridResult
43 {
44 public:
45  virtual void DumpResult();
46 
47  virtual const char* GetFileName(UInt_t i) const; // returns the file name of list item i
48  virtual const char* GetFileNamePath(UInt_t i) const; // returns the full path + file name of list item i
49  virtual const char* GetPath(UInt_t i) const; // returns the file path of list item i
50  virtual const char* GetKey(UInt_t i, const char *key) const; // returns the key value of list item i
51 
52  virtual Bool_t SetKey(UInt_t i, const char *key, const char *value); // set the key value of list item i
53  virtual TList* GetFileInfoList() const; // returns a new allocated List of TFileInfo Objects
54 
55  void Print(Option_t *option = "") const;
56  void Print(Option_t *wildcard, Option_t *option) const;
57 
58  ClassDef(TGLiteResult, 1) // gLite query result set
59 };
60 
61 #endif
const char Option_t
Definition: RtypesCore.h:62
bool Bool_t
Definition: RtypesCore.h:59
virtual const char * GetFileNamePath(UInt_t i) const
return file name path
virtual const char * GetPath(UInt_t i) const
return path
#define ClassDef(name, id)
Definition: Rtypes.h:254
A doubly linked list.
Definition: TList.h:47
virtual TList * GetFileInfoList() const
return a file info list
void Print(Option_t *option="") const
print the GLiteResult info
unsigned int UInt_t
Definition: RtypesCore.h:42
virtual const char * GetKey(UInt_t i, const char *key) const
return the key
virtual void DumpResult()
float value
Definition: math.cpp:443
virtual Bool_t SetKey(UInt_t i, const char *key, const char *value)
set the key
virtual const char * GetFileName(UInt_t i) const
return a file name