library: libTree #include "TQueryResult.h" |
TQueryResult
class description - source file - inheritance tree (.pdf)
protected:
TQueryResult(Int_t seqnum, const char* opt, TList* inlist, Long64_t entries, Long64_t first, TDSet* dset, const char* selec, TEventList* elist = 0)
void AddLogLine(const char* logline)
TQueryResult* CloneInfo()
virtual void RecordEnd(TQueryResult::EQueryStatus status, TList* outlist = 0)
void SaveSelector(const char* selec)
void SetArchived(const char* archfile)
virtual void SetFinalized()
virtual void SetOutputList(TList* out)
virtual void SetProcessInfo(Long64_t ent, Float_t cpu = 0., Long64_t siz = -1)
public:
TQueryResult()
TQueryResult(const TQueryResult&)
virtual ~TQueryResult()
virtual void Browse(TBrowser* b = 0)
static TClass* Class()
Long64_t GetBytes() const
TDSet* GetDSet() const
TDatime GetEndTime() const
Long64_t GetEntries() const
TEventList* GetEventList() const
Long64_t GetFirst() const
TList* GetInputList()
const char* GetLibList() const
TMacro* GetLogFile() const
const char* GetOptions() const
TList* GetOutputList()
const char* GetParList() const
const char* GetResultFile() const
TMacro* GetSelecHdr() const
TMacro* GetSelecImp() const
Int_t GetSeqNum() const
TDatime GetStartTime() const
TQueryResult::EQueryStatus GetStatus() const
Float_t GetUsedCPU() const
virtual TClass* IsA() const
Bool_t IsArchived() const
virtual Bool_t IsDone() const
Bool_t IsDraw() const
Bool_t IsFinalized() const
Bool_t Matches(const char* ref)
TQueryResult& operator=(const TQueryResult&)
virtual void Print(Option_t* opt = "") const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Int_t fSeqNum query unique sequential number
Bool_t fDraw true if draw action query
TQueryResult::EQueryStatus fStatus query status
TDatime fStart time when processing started
TDatime fEnd time when processing ended
Float_t fUsedCPU real CPU time used (seconds)
TString fOptions processing options
TList* fInputList input list
TDSet* fDSet input data set
TEventList* fEventList input event list
Long64_t fEntries number of entries processed
Long64_t fFirst first entry processed
Long64_t fBytes number of bytes processed
TMacro* fLogFile file with log messages from the query
TMacro* fSelecHdr selector header file
TMacro* fSelecImp selector implementation file
TString fLibList blank-separated list of libs loaded at fStart
TString fParList colon-separated list of PAR loaded at fStart
TList* fOutputList output list
Bool_t fFinalized whether Terminate has been run
Bool_t fArchived whether the query has been archived
TString fResultFile URL of the file where results have been archived
public:
static const TQueryResult::EQueryStatus kAborted
static const TQueryResult::EQueryStatus kSubmitted
static const TQueryResult::EQueryStatus kRunning
static const TQueryResult::EQueryStatus kStopped
static const TQueryResult::EQueryStatus kCompleted
TQueryResult
A container class for query results.
TQueryResult(Int_t seqnum, const char *opt, TList *inlist,
Long64_t entries, Long64_t first, TDSet *dset,
const char *selec, TEventList *elist)
: fSeqNum(seqnum), fStatus(kSubmitted), fOptions(opt),
fEntries(entries), fFirst(first),
fBytes(0), fParList("-"), fOutputList(0),
fFinalized(kFALSE), fArchived(kFALSE), fResultFile("-")
Main constructor.
~TQueryResult()
Destructor.
TQueryResult* CloneInfo()
Return an instance of TQueryResult containing only the local
info fields, i.e. no outputlist, liblist, dset, selectors, etc..
Used for fast retrieve of information about existing queries
and their status.
void SaveSelector(const char *selector)
Save the selector header and implementation into the dedicated
TMacro instances. The header is serached for in the same directory
as the implementation file.
void RecordEnd(EQueryStatus status, TList *outlist)
End of query settings.
void SetProcessInfo(Long64_t ent, Float_t cpu, Long64_t bytes)
Set processing info.
void AddLogLine(const char *logline)
Fill log file.
void SetArchived(const char *archfile)
Set (or update) query in archived state.
void Print(Option_t *opt) const
Print query content. Use opt = "F" for a full listing.
void Browse(TBrowser *b)
To support browsing of the results.
void SetOutputList(TList *out)
Set / change the output list.
Bool_t Matches(const char *ref)
Return TRUE if reference ref matches.
Inline Functions
void SetFinalized()
TQueryResult TQueryResult()
Int_t GetSeqNum() const
TQueryResult::EQueryStatus GetStatus() const
TDatime GetStartTime() const
TDatime GetEndTime() const
const char* GetOptions() const
TList* GetInputList()
TDSet* GetDSet() const
TEventList* GetEventList() const
Long64_t GetEntries() const
Long64_t GetFirst() const
Long64_t GetBytes() const
Float_t GetUsedCPU() const
TMacro* GetLogFile() const
TMacro* GetSelecHdr() const
TMacro* GetSelecImp() const
const char* GetLibList() const
const char* GetParList() const
TList* GetOutputList()
const char* GetResultFile() const
Bool_t IsArchived() const
Bool_t IsDone() const
Bool_t IsDraw() const
Bool_t IsFinalized() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TQueryResult TQueryResult(const TQueryResult&)
TQueryResult& operator=(const TQueryResult&)
Author: G Ganis Sep 2005
Last update: root/tree:$Name: $:$Id: TQueryResult.cxx,v 1.2 2005/09/19 14:49:09 brun Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.