// @(#)root/proof:$Id$
// Author: G Ganis Aug 2005

/*************************************************************************
 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TProofQueryResult
#define ROOT_TProofQueryResult


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TProofQueryResult                                                    //
//                                                                      //
// TQueryResult version adapted to PROOF neeeds.                        //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TQueryResult
#include "TQueryResult.h"
#endif

class TDSet;

class TProofQueryResult : public TQueryResult {

friend class TProofLite;
friend class TProofServ;
friend class TQueryResultManager;

private:
   Int_t    fStartLog;     //log file offset at start

   TProofQueryResult(Int_t seqnum, const char *opt, TList *inlist,
                     Long64_t entries, Long64_t first, TDSet *dset,
                     const char *selec, TObject *elist = 0);

   void  RecordEnd(EQueryStatus status, TList *outlist = 0)
         { TQueryResult::RecordEnd(status, outlist); }

   void  SetFinalized() { TQueryResult::SetFinalized(); }
   void  SetResultFile(const char *rf) { fResultFile = rf; }
   void  SetRunning(Int_t startlog, const char *par, Int_t nwrks);

public:
   TProofQueryResult() : TQueryResult(), fStartLog(-1) { }
   virtual ~TProofQueryResult() { }

   ClassDef(TProofQueryResult,1)  //Class describing a PROOF query
};

#endif
 TProofQueryResult.h:1
 TProofQueryResult.h:2
 TProofQueryResult.h:3
 TProofQueryResult.h:4
 TProofQueryResult.h:5
 TProofQueryResult.h:6
 TProofQueryResult.h:7
 TProofQueryResult.h:8
 TProofQueryResult.h:9
 TProofQueryResult.h:10
 TProofQueryResult.h:11
 TProofQueryResult.h:12
 TProofQueryResult.h:13
 TProofQueryResult.h:14
 TProofQueryResult.h:15
 TProofQueryResult.h:16
 TProofQueryResult.h:17
 TProofQueryResult.h:18
 TProofQueryResult.h:19
 TProofQueryResult.h:20
 TProofQueryResult.h:21
 TProofQueryResult.h:22
 TProofQueryResult.h:23
 TProofQueryResult.h:24
 TProofQueryResult.h:25
 TProofQueryResult.h:26
 TProofQueryResult.h:27
 TProofQueryResult.h:28
 TProofQueryResult.h:29
 TProofQueryResult.h:30
 TProofQueryResult.h:31
 TProofQueryResult.h:32
 TProofQueryResult.h:33
 TProofQueryResult.h:34
 TProofQueryResult.h:35
 TProofQueryResult.h:36
 TProofQueryResult.h:37
 TProofQueryResult.h:38
 TProofQueryResult.h:39
 TProofQueryResult.h:40
 TProofQueryResult.h:41
 TProofQueryResult.h:42
 TProofQueryResult.h:43
 TProofQueryResult.h:44
 TProofQueryResult.h:45
 TProofQueryResult.h:46
 TProofQueryResult.h:47
 TProofQueryResult.h:48
 TProofQueryResult.h:49
 TProofQueryResult.h:50
 TProofQueryResult.h:51
 TProofQueryResult.h:52
 TProofQueryResult.h:53
 TProofQueryResult.h:54
 TProofQueryResult.h:55
 TProofQueryResult.h:56
 TProofQueryResult.h:57