#include "QSigExDirHandler.h"

QSigExDirHandler


class description - header file - source file - inheritance tree (.pdf)

class QSigExDirHandler : public TObject

Inheritance Chart:
TObject
<-
QSigExDirHandler
<-
QSigExCleanData
QSigExCuts
QSigExFit
QSigExFlux2Events
QSigExGaussCor
QSigExGCJointProbs
QSigExJointProbs
QSigExPDFs
<-
QSigExStdPDFs
QSigExTTreePDF
 [more...]
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    protected:
void CheckCardNFields(Int_t nfields, Int_t min, Int_t max = -1) TDirectory* CopyDir(TDirectory* fromdir, TDirectory* todir) Int_t DelObjsKeys(const Char_t* name, TDirectory* dir) Bool_t FindObjKey(const Char_t* name, const TDirectory* dir) const virtual void FormatDir() void GetDirs(TList* list, TDirectory* dir) void GetListOfObjsKeys(TList* list, TDirectory* dir) void GetObjs(TList* list, TDirectory* dir) TDirectory* SetDirectory(TDirectory* dir, TObject* obj) public:
virtual ~QSigExDirHandler() static TClass* Class() virtual void CleanDir() virtual void ClearCardBuf() virtual Int_t Get() TDirectory* GetDir() const virtual TClass* IsA() const virtual void LoadCardFile(const Char_t* cardfilename = "NULL") void SetDir(TDirectory* folder) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TDirectory* fMyDir Pointer to the TDirectory instance filled by QSigExDirHandler QDatReader fReader QDatReader instance used to read the card file

Class Description

                                                                      
 QSigExDirHandler                                                     
                                                                      
 This class is an abstract base class that provides a basic interface 
 for all the classes that need to handle the TDirectory instance in   
 which QSigEx stores its information. A new handler can be created by 
 deriving a new class from QSigExDirHandler.                          
                                                                      

void GetObjs(TList* list, TDirectory* dir)
This function loads all the non-TDirectory derived objects of dir into
memory and fills the list with pointers of all derived objects. The
kCanDelete bit is set for all the objects that have been loaded into memory
by the function.
void GetDirs(TList* list, TDirectory* dir)
This function loads all the TDirectory derived objects of dir into memory
and fills the list with pointers of all TDirectory derived objects.
void GetListOfObjsKeys(TList* list, TDirectory* dir)
This function returns a list that is the concatenation of lists
TDirectory::GetList() and TDirectory::GetListOfKeys()
Int_t DelObjsKeys(const Char_t* name, TDirectory* dir)
This function recursively deletes the object instance and/or all the TKeys
that have the name name. It returns the number of deleted objects in the
first level (count 1 for 1 deleted folder in the first level)
Bool_t FindObjKey(const Char_t* name, const TDirectory* dir)
This function return kTRUE if dir contains a TKey or TObject with name
name
TDirectory* CopyDir(TDirectory* fromdir, TDirectory* todir)
This function is intended to copy recursively TDirectory objects
It's not implemented at the moment
TDirectory* SetDirectory(TDirectory* dir, TObject* obj)
This function allow to change the owner TDirectory of ROOT objects that have
an implemented SetDirectory function or their derived classes . The function
does nothing with other objects. It returns dir
void CheckCardNFields(Int_t nfields, Int_t min, Int_t max)
This function throw an exception if the following expression is not true:
min<=nfields<=max
virtual ~QSigExDirHandler()


{PRINTF2(this,"\t~QSigExDirHandler::QSigExDirHandler()\n")}
void LoadCardFile(const Char_t* cardfilename=NULL)

void SetDir(TDirectory* folder)

TDirectory* GetDir()

Int_t Get()

void CleanDir()

void ClearCardBuf()

void FormatDir()


Author: Pierre-Luc Drouin
Last update: Fri Nov 17 16:35:13 2006


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.