36 const char *branchname,
40 TNamed(dataname,
type),fBranchName(branchname),fIsSplit(split),fBranchIsSkipped(skipped),fIsLeafList(isleaflist)
81 if ( !other )
return false;
82 if ( other ==
this )
return true;
116 const char *above =
"";
117 if (strncmp(prefix,subbranchname,strlen(prefix))==0
118 && strcmp(prefix,subbranchname)!=0) {
119 subbranchname += strlen(prefix)+1;
120 above =
"ffPrefix, ";
124 fprintf(hf,
"\n%-*s %-*s(director, obj.GetProxy(), \"%s\", %s\"%s\")",
128 if (above[0]==
'\0') {
129 fprintf(hf,
"\n%-*s %-*s(director, \"%s\", \"\", \"%s\")",
132 fprintf(hf,
"\n%-*s %-*s(director, %s\"%s\", \"%s\")",
136 fprintf(hf,
"\n%-*s %-*s(director, %s\"%s\")",
137 offset,
" ", maxVarname,
GetDataName(), above, subbranchname);
142 fprintf(hf,
"\n%-*s %-*s(director, obj.GetProxy(), \"%s\")",
TBranchProxyDescriptor(const char *dataname, const char *type, const char *branchname, Bool_t split=true, Bool_t skipped=false, Bool_t isleaflist=false)
void OutputDecl(FILE *hf, int offset, UInt_t maxVarname)
const char * GetBranchName()
const char * GetTypeName()
const char * GetDataName()
void OutputInit(FILE *hf, int offset, UInt_t maxVarname, const char *prefix)
Bool_t IsEquivalent(const TBranchProxyDescriptor *other, Bool_t inClass=kFALSE)
The TNamed class is the base class for all named ROOT classes.
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
TString & Insert(Ssiz_t pos, const char *s)
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
TString & Remove(Ssiz_t pos)
Namespace for new ROOT classes and functions.