Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:32

0001 // @(#)root/treeplayer:$Id$
0002 // Author: Philippe Canal 06/06/2004
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers and al.        *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TBranchProxyDescriptor
0013 #define ROOT_TBranchProxyDescriptor
0014 
0015 #include "TNamed.h"
0016 
0017 
0018 namespace ROOT {
0019 namespace Internal {
0020 
0021    class TBranchProxyDescriptor : public TNamed {
0022       TString fDataName;
0023       TString fBranchName;
0024       bool    fIsSplit;
0025       bool    fBranchIsSkipped;
0026       bool    fIsLeafList;      // true if the branch was constructed from a leaf list.
0027 
0028    public:
0029       TBranchProxyDescriptor(const char *dataname, const char *type,
0030                              const char *branchname, bool split = true, bool skipped = false, bool isleaflist = false);
0031       const char *GetDataName();
0032       const char *GetTypeName();
0033       const char *GetBranchName();
0034 
0035       bool IsEquivalent(const TBranchProxyDescriptor *other, bool inClass = false);
0036       bool IsSplit() const;
0037 
0038       void OutputDecl(FILE *hf, int offset, UInt_t maxVarname);
0039       void OutputInit(FILE *hf, int offset, UInt_t maxVarname,
0040                       const char *prefix);
0041 
0042       ClassDefOverride(TBranchProxyDescriptor,0); // Describe the proxy for a branch
0043    };
0044 }
0045 }
0046 
0047 #endif