Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4TreeProxy.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4TREESLOT_H
00017 #define TGO4TREESLOT_H
00018 
00019 #include "TGo4Proxy.h"
00020 
00021 class TTree;
00022 
00023 class TGo4TreeProxy : public TGo4Proxy {
00024    public:
00025       TGo4TreeProxy();
00026       TGo4TreeProxy(TTree* tree, Bool_t owner = kFALSE);
00027       virtual ~TGo4TreeProxy();
00028       
00029       virtual Bool_t HasSublevels() const { return fTree!=0; }
00030       
00031       virtual TGo4LevelIter* MakeIter()
00032         { return (fTree==0) ? 0 : ProduceIter(fTree); }
00033         
00034       virtual TGo4Access* MakeProxy(const char* name) 
00035         { return ProduceProxy(fTree, name); }
00036 
00037       virtual Int_t GetObjectKind();
00038       virtual const char* GetContainedClassName();
00039         
00040       static TGo4Access* ProduceProxy(TTree* tree, const char* name);
00041       static TGo4LevelIter* ProduceIter(TTree* tree);
00042    
00043    protected:
00044       TTree*   fTree;   
00045       Bool_t   fOwner;  
00046    
00047    ClassDef(TGo4TreeProxy, 1);
00048 };
00049 
00050 #endif
00051 
00052 
00053 
00054 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:27 2008 for Go4-v3.04-1 by  doxygen 1.4.2