29 const char *aliasname,
31 TNamed(treename,aliasname),
43 if ( !other )
return kFALSE;
63 fprintf(hf,
"%-*sstruct TFriendPx_%s : public TFriendProxy {\n", offset,
" ",
GetName() );
64 fprintf(hf,
"%-*s TFriendPx_%s(TBranchProxyDirector *director,TTree *tree,Int_t index) :\n",
66 fprintf(hf,
"%-*s %-*s(director,tree,index)",offset,
" ",maxVarname,
"TFriendProxy");
70 fprintf(hf,
",\n%-*s %-*s(&fDirector,\"%s\")",
73 fprintf(hf,
"\n%-*s { }\n",offset,
" ");
75 fprintf(hf,
"\n%-*s // Proxy for each of the branches and leaves of the tree\n",offset,
" ");
80 fprintf(hf,
"%-*s};\n",offset,
" ");
87 TString typeName =
"TFriendPx_";
89 fprintf(hf,
"%-*s%-*s %s;\n",
void OutputDecl(FILE *hf, int offset, UInt_t maxVarname)
const char * GetBranchName()
const char * GetDataName()
Bool_t IsEquivalent(const TBranchProxyDescriptor *other, Bool_t inClass=kFALSE)
void OutputDecl(FILE *hf, int offset, UInt_t maxVarname)
Bool_t IsEquivalent(const TFriendProxyDescriptor *other)
void OutputClassDecl(FILE *hf, int offset, UInt_t maxVarname)
TFriendProxyDescriptor(const TFriendProxyDescriptor &b)
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
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.
const char * Data() const
Namespace for new ROOT classes and functions.