Logo ROOT   6.10/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 #include "TGridResult.h"
39 
40 class TGLiteResult : public TGridResult
41 {
42 public:
43  virtual void DumpResult();
44 
45  virtual const char* GetFileName(UInt_t i) const; // returns the file name of list item i
46  virtual const char* GetFileNamePath(UInt_t i) const; // returns the full path + file name of list item i
47  virtual const char* GetPath(UInt_t i) const; // returns the file path of list item i
48  virtual const char* GetKey(UInt_t i, const char *key) const; // returns the key value of list item i
49 
50  virtual Bool_t SetKey(UInt_t i, const char *key, const char *value); // set the key value of list item i
51  virtual TList* GetFileInfoList() const; // returns a new allocated List of TFileInfo Objects
52 
53  void Print(Option_t *option = "") const;
54  void Print(Option_t *wildcard, Option_t *option) const;
55 
56  ClassDef(TGLiteResult, 1) // gLite query result set
57 };
58 
59 #endif
virtual const char * GetFileName(UInt_t i) const
return a file name
void Print(Option_t *option="") const
print the GLiteResult info
const char Option_t
Definition: RtypesCore.h:62
virtual const char * GetPath(UInt_t i) const
return path
bool Bool_t
Definition: RtypesCore.h:59
virtual const char * GetFileNamePath(UInt_t i) const
return file name path
#define ClassDef(name, id)
Definition: Rtypes.h:297
virtual void DumpResult()
Dump result set.
A doubly linked list.
Definition: TList.h:43
virtual const char * GetKey(UInt_t i, const char *key) const
return the key
unsigned int UInt_t
Definition: RtypesCore.h:42
virtual TList * GetFileInfoList() const
return a file info list
virtual Bool_t SetKey(UInt_t i, const char *key, const char *value)
set the key