library: libTree
#include "TQueryResult.h"


class description - header file - source file
viewCVS header - viewCVS source

class TQueryResult: public TNamed

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
TQueryResult(const TQueryResult&)
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidBrowse(TBrowser* b = 0)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Long64_tGetBytes() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
TDatimeGetEndTime() const
Long64_tGetEntries() const
Long64_tGetFirst() const
virtual const char*TObject::GetIconName() const
Float_tGetInitTime() const
TObject*GetInputObject(const char* classname) const
const char*GetLibList() const
TMacro*GetLogFile() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const char*GetOptions() const
const char*GetParList() const
Float_tGetProcTime() const
const char*GetResultFile() const
TMacro*GetSelecHdr() const
TMacro*GetSelecImp() const
Int_tGetSeqNum() const
TDatimeGetStartTime() const
TQueryResult::EQueryStatusGetStatus() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Float_tGetUsedCPU() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsArchived() const
virtual Bool_tIsDone() const
Bool_tIsDraw() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
Bool_tIsFinalized() const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
Bool_tMatches(const char* ref)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TQueryResult&operator=(const TQueryResult&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* opt = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
TQueryResult(Int_t seqnum, const char* opt, TList* inlist, Long64_t entries, Long64_t first, const char* selec)
voidAddInput(TObject* obj)
voidAddLogLine(const char* logline)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidRecordEnd(TQueryResult::EQueryStatus status, TList* outlist = 0)
voidSaveSelector(const char* selec)
voidSetArchived(const char* archfile)
virtual voidSetFinalized()
virtual voidSetInputList(TList* in, Bool_t adopt = kTRUE)
virtual voidSetOutputList(TList* out, Bool_t adopt = kTRUE)
virtual voidSetProcessInfo(Long64_t ent, Float_t cpu = 0., Long64_t siz = -1, Float_t inittime = 0., Float_t proctime = 0.)

Data Members

enum EQueryStatus { kAborted
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
Int_tfSeqNumquery unique sequential number
Bool_tfDrawtrue if draw action query
TQueryResult::EQueryStatusfStatusquery status
TDatimefStarttime when processing started
TDatimefEndtime when processing ended
Float_tfUsedCPUreal CPU time used (seconds)
TStringfOptionsprocessing options + aclic mode (<opt>#<aclic_mode>)
TList*fInputListinput list; contains also data sets, entry list, ...
Long64_tfEntriesnumber of entries processed
Long64_tfFirstfirst entry processed
Long64_tfBytesnumber of bytes processed
TMacro*fLogFilefile with log messages from the query
TMacro*fSelecHdrselector header file
TMacro*fSelecImpselector implementation file
TStringfLibListblank-separated list of libs loaded at fStart
TStringfParListcolon-separated list of PAR loaded at fStart
TList*fOutputListoutput list
Bool_tfFinalizedwhether Terminate has been run
Bool_tfArchivedwhether the query has been archived
TStringfResultFileURL of the file where results have been archived
Float_tfInitTimeInitialization time (seconds) (millisec precision)
Float_tfProcTimeProcessing time (seconds) (millisec precision)
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title

Class Description

 A container class for query results.                                 

TQueryResult(Int_t seqnum, const char *opt, TList *inlist, Long64_t entries, Long64_t first, const char *selec)
 Main constructor.
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 searched for in the same directory
 of the implementation file.
void RecordEnd(EQueryStatus status, TList *outlist)
 End of query settings.
void SetProcessInfo(Long64_t ent, Float_t cpu, Long64_t bytes, Float_t init, Float_t proc)
 Set processing info.
void AddLogLine(const char *logline)
 Fill log file.
void AddInput(TObject *obj)
 Add obj to the input list
void SetArchived(const char *archfile)
 Set (or update) query in archived state.
void Print(Option_t *opt)
 Print query content. Use opt = "F" for a full listing.
void Browse(TBrowser *b)
 To support browsing of the results.
void SetInputList(TList *in, Bool_t adopt)
 Set / change the input list.
 The flag 'adopt' determines whether the list is adopted (default)
 or cloned.
void SetOutputList(TList *out, Bool_t adopt)
 Set / change the output list.
 The flag 'adopt' determines whether the list is adopted (default)
 or cloned. The internal fOutputList will always be owner of its
Bool_t Matches(const char *ref)
 Return TRUE if reference ref matches.
TObject * GetInputObject(const char *classname)
 Return first instance of class 'classname' in the input list.
 Usefull to access TDSet, TEventList, ...
TQueryResult(Int_t seqnum, const char *opt, TList *inlist, Long64_t entries, Long64_t first, const char *selec)
void SetFinalized()
{ fFinalized = kTRUE; }
{ }
Int_t GetSeqNum()
{ return fSeqNum; }
EQueryStatus GetStatus()
{ return fStatus; }
TDatime GetStartTime()
{ return fStart; }
TDatime GetEndTime()
{ return fEnd; }
const char * GetOptions()
{ return fOptions; }
TList * GetInputList()
{ return fInputList; }
Long64_t GetEntries()
{ return fEntries; }
Long64_t GetFirst()
{ return fFirst; }
Long64_t GetBytes()
{ return fBytes; }
Float_t GetUsedCPU()
{ return fUsedCPU; }
TMacro * GetLogFile()
{ return fLogFile; }
TMacro * GetSelecHdr()
{ return fSelecHdr; }
TMacro * GetSelecImp()
{ return fSelecImp; }
const char * GetLibList()
{ return fLibList; }
const char * GetParList()
{ return fParList; }
TList * GetOutputList()
{ return fOutputList; }
const char * GetResultFile()
{ return fResultFile; }
Float_t GetInitTime()
{ return fInitTime; }
Float_t GetProcTime()
{ return fProcTime; }
Bool_t IsArchived()
{ return fArchived; }
Bool_t IsDone()
{ return (fStatus > kRunning); }
Bool_t IsDraw()
{ return fDraw; }
Bool_t IsFinalized()
{ return fFinalized; }

Author: G Ganis Sep 2005
Last update: root/tree:$Name: $:$Id: TQueryResult.cxx,v 1.10 2006/11/27 14:14:24 rdm 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.