12 #ifndef ROOT_TQueryResult
13 #define ROOT_TQueryResult
113 fInputList(0), fEntries(-1), fFirst(-1), fBytes(0),
114 fLogFile(0), fSelecHdr(0), fSelecImp(0),
115 fLibList(
"-"), fOutputList(0),
117 fInitTime(0.), fProcTime(0.), fMergeTime(0.),
118 fRecvTime(-1), fTermTime(0.), fNumWrks(-1), fNumMergers(-1) { }
163 {
return !(qr1 == qr2); }
void Browse(TBrowser *b=0)
To support browsing of the results.
void SaveSelector(const char *selec)
Save the selector header and implementation into the dedicated TMacro instances.
void SetNumMergers(Int_t nmergers)
Bool_t IsFinalized() const
void SetPrepTime(Float_t preptime)
TMacro * GetSelecHdr() const
const char * GetOptions() const
void AddLogLine(const char *logline)
Fill log file.
EQueryStatus GetStatus() const
TMacro * GetLogFile() const
Class supporting a collection of lines with C++ code.
Float_t GetPrepTime() const
TQueryResult * CloneInfo()
Return an instance of TQueryResult containing only the local info fields, i.e.
Float_t GetTermTime() const
void SetRecvTime(Float_t recvtime)
TMacro * GetSelecImp() const
Int_t GetNumMergers() const
virtual Bool_t IsDone() const
Float_t GetInitTime() const
const char * GetParList() const
void Print(Option_t *opt="") const
Print query content. Use opt = "F" for a full listing.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
void SetMergeTime(Float_t mergetime)
Bool_t operator==(const TQueryResult &qr1, const TQueryResult &qr2)
Compare two query result instances for equality.
virtual void SetOutputList(TList *out, Bool_t adopt=kTRUE)
Set / change the output list.
A container class for query results.
Bool_t operator!=(const TQueryResult &qr1, const TQueryResult &qr2)
Long64_t GetEntries() const
virtual void SetProcessInfo(Long64_t ent, Float_t cpu=0., Long64_t siz=-1, Float_t inittime=0., Float_t proctime=0.)
Set processing info.
void SetTermTime(Float_t termtime)
void AddInput(TObject *obj)
Add obj to the input list.
Using a TBrowser one can browse all ROOT objects.
Float_t GetUsedCPU() const
Bool_t IsArchived() const
Long64_t GetBytes() const
const char * GetLibList() const
virtual void RecordEnd(EQueryStatus status, TList *outlist=0)
End of query settings.
virtual void SetFinalized()
const char * GetResultFile() const
Bool_t Matches(const char *ref)
Return TRUE if reference ref matches.
TDatime GetStartTime() const
TObject * GetInputObject(const char *classname) const
Return first instance of class 'classname' in the input list.
Long64_t GetFirst() const
virtual void SetInputList(TList *in, Bool_t adopt=kTRUE)
Set / change the input list.
virtual ~TQueryResult()
Destructor.
void SetArchived(const char *archfile)
Set (or update) query in archived state.
Mother of all ROOT objects.
Float_t GetRecvTime() const
Implement some of the functionality of the class TTree requiring access to extra libraries (Histogram...
Float_t GetProcTime() const
Float_t GetMergeTime() const
TDatime GetEndTime() const
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...