00001
00002
00003
00004
00005
00006
00007
00008
00009
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;
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);
00044 };
00045 }
00046
00047 #endif