Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TProofQueryResult.h
Go to the documentation of this file.
1 // @(#)root/proof:$Id$
2 // Author: G Ganis Aug 2005
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2005, 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_TProofQueryResult
13 #define ROOT_TProofQueryResult
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TProofQueryResult //
19 // //
20 // TQueryResult version adapted to PROOF neeeds. //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #include "TQueryResult.h"
25 
26 class TDSet;
27 
28 class TProofQueryResult : public TQueryResult {
29 
30 friend class TProofLite;
31 friend class TProofServ;
32 friend class TQueryResultManager;
33 
34 private:
35  Int_t fStartLog; //log file offset at start
36 
37  TProofQueryResult(Int_t seqnum, const char *opt, TList *inlist,
38  Long64_t entries, Long64_t first, TDSet *dset,
39  const char *selec, TObject *elist = 0);
40 
41  void RecordEnd(EQueryStatus status, TList *outlist = 0)
42  { TQueryResult::RecordEnd(status, outlist); }
43 
44  void SetFinalized() { TQueryResult::SetFinalized(); }
45  void SetResultFile(const char *rf) { fResultFile = rf; }
46  void SetRunning(Int_t startlog, const char *par, Int_t nwrks);
47 
48 public:
49  TProofQueryResult() : TQueryResult(), fStartLog(-1) { }
50  virtual ~TProofQueryResult() { }
51 
52  ClassDef(TProofQueryResult,1) //Class describing a PROOF query
53 };
54 
55 #endif