class TQueryResult: public TNamed


TQueryResult

A container class for query results.


Function Members (Methods)

public:
TQueryResult()
TQueryResult(const TQueryResult&)
virtual~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 = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
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
TList*GetInputList()
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
TList*GetOutputList()
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() constMENU
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 = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
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
protected:
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)
TQueryResult*CloneInfo()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
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

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

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TQueryResult(Int_t seqnum, const char* opt, TList* inlist, Long64_t entries, Long64_t first, const char* selec)
 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* selec)
 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(TQueryResult::EQueryStatus status, TList* outlist = 0)
 End of query settings.
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 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 = "") const
 Print query content. Use opt = "F" for a full listing.
void Browse(TBrowser* b = 0)
 To support browsing of the results.
void SetInputList(TList* in, Bool_t adopt = kTRUE)
 Set / change the input list.
 The flag 'adopt' determines whether the list is adopted (default)
 or cloned. If adopted, object ownership is transferred to this object.
 The internal fInputList will always be owner of its objects.
void SetOutputList(TList* out, Bool_t adopt = kTRUE)
 Set / change the output list.
 The flag 'adopt' determines whether the list is adopted (default)
 or cloned.  If adopted, object ownership is transferred to this object.
 The internal fOutputList will always be owner of its objects.
Bool_t Matches(const char* ref)
 Return TRUE if reference ref matches.
TObject * GetInputObject(const char* classname) const
 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; }
TQueryResult(const TQueryResult& )
{ }
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 change: root/tree:$Id: TQueryResult.h 25716 2008-10-07 09:10:47Z rdm $
Last generated: 2008-10-07 11:41
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *

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.