TBranchProxyDescriptor.h

Go to the documentation of this file.
00001 // @(#)root/treeplayer:$Id: TBranchProxyDescriptor.h 28346 2009-04-24 12:39:14Z pcanal $
00002 // Author: Philippe Canal 06/06/2004
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers and al.        *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TBranchProxyDescriptor
00013 #define ROOT_TBranchProxyDescriptor
00014 
00015 #ifndef ROOT_TNamed
00016 #include "TNamed.h"
00017 #endif
00018 
00019 
00020 namespace ROOT {
00021 
00022    class TBranchProxyDescriptor : public TNamed {
00023       TString fDataName;
00024       TString fBranchName;
00025       Bool_t  fIsSplit;
00026       Bool_t  fBranchIsSkipped;
00027       Bool_t  fIsLeafList;      // true if the branch was constructed from a leaf list.
00028 
00029    public:
00030       TBranchProxyDescriptor(const char *dataname, const char *type,
00031                              const char *branchname, Bool_t split = true, Bool_t skipped = false, Bool_t isleaflist = false);
00032       const char *GetDataName();
00033       const char *GetTypeName();
00034       const char *GetBranchName();
00035 
00036       Bool_t IsEquivalent(const TBranchProxyDescriptor *other, Bool_t inClass = kFALSE);
00037       Bool_t IsSplit() const;
00038 
00039       void OutputDecl(FILE *hf, int offset, UInt_t maxVarname);
00040       void OutputInit(FILE *hf, int offset, UInt_t maxVarname,
00041                       const char *prefix);
00042 
00043       ClassDef(TBranchProxyDescriptor,0); // Describe the proxy for a branch
00044    };
00045 }
00046 
00047 #endif

Generated on Tue Jul 5 14:26:35 2011 for ROOT_528-00b_version by  doxygen 1.5.1