TProofQueryResult.h

Go to the documentation of this file.
00001 // @(#)root/proof:$Id: TProofQueryResult.h 34755 2010-08-10 10:47:41Z rdm $
00002 // Author: G Ganis Aug 2005
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2005, 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 #ifndef ROOT_TProofQueryResult
00013 #define ROOT_TProofQueryResult
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TProofQueryResult                                                    //
00019 //                                                                      //
00020 // TQueryResult version adapted to PROOF neeeds.                        //
00021 //                                                                      //
00022 //////////////////////////////////////////////////////////////////////////
00023 
00024 #ifndef ROOT_TQueryResult
00025 #include "TQueryResult.h"
00026 #endif
00027 
00028 class TDSet;
00029 
00030 class TProofQueryResult : public TQueryResult {
00031 
00032 friend class TProofLite;
00033 friend class TProofServ;
00034 friend class TQueryResultManager;
00035 
00036 private:
00037    Int_t    fStartLog;     //log file offset at start
00038 
00039    TProofQueryResult(Int_t seqnum, const char *opt, TList *inlist,
00040                      Long64_t entries, Long64_t first, TDSet *dset,
00041                      const char *selec, TObject *elist = 0);
00042 
00043    void  RecordEnd(EQueryStatus status, TList *outlist = 0)
00044          { TQueryResult::RecordEnd(status, outlist); }
00045 
00046    void  SetFinalized() { TQueryResult::SetFinalized(); }
00047    void  SetResultFile(const char *rf) { fResultFile = rf; }
00048    void  SetRunning(Int_t startlog, const char *par, Int_t nwrks);
00049 
00050 public:
00051    TProofQueryResult() : TQueryResult(), fStartLog(-1) { }
00052    virtual ~TProofQueryResult() { }
00053 
00054    ClassDef(TProofQueryResult,1)  //Class describing a PROOF query
00055 };
00056 
00057 #endif

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