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\")",
virtual const char * GetTitle() const
Returns title of object.
const char * GetBranchName()
TString & ReplaceAll(const TString &s1, const TString &s2)
void OutputInit(FILE *hf, int offset, UInt_t maxVarname, const char *prefix)
TBranchProxyDescriptor(const char *dataname, const char *type, const char *branchname, Bool_t split=true, Bool_t skipped=false, Bool_t isleaflist=false)
TString & Insert(Ssiz_t pos, const char *s)
def split
helpers ------------------------------------------------------------------—
const char * Data() const
The TNamed class is the base class for all named ROOT classes.
void OutputDecl(FILE *hf, int offset, UInt_t maxVarname)
ClassImp(ROOT::Internal::TBranchProxyDescriptor)
const char * GetTypeName()
virtual const char * GetName() const
Returns name of object.
TString & Remove(Ssiz_t pos)
Bool_t IsEquivalent(const TBranchProxyDescriptor *other, Bool_t inClass=kFALSE)
const char * GetDataName()