31 const char *aliasname,
33 TNamed(treename,aliasname),
45 if ( !other )
return false;
66 fprintf(hf,
"%-*sstruct TFriendPx_%s : public TFriendProxy {\n", offset,
" ",
GetName() );
67 fprintf(hf,
"%-*s TFriendPx_%s(TBranchProxyDirector *director,TTree *tree,Int_t index) :\n",
69 fprintf(hf,
"%-*s %-*s(director,tree,index)",offset,
" ",maxVarname,
"TFriendProxy");
73 fprintf(hf,
",\n%-*s %-*s(&fDirector,\"%s\")",
74 offset,
" ",maxVarname, data->GetDataName(), data->GetBranchName());
76 fprintf(hf,
"\n%-*s { }\n",offset,
" ");
78 fprintf(hf,
"\n%-*s // Proxy for each of the branches and leaves of the tree\n",offset,
" ");
81 data->OutputDecl(hf, offset+3, maxVarname);
83 fprintf(hf,
"%-*s};\n",offset,
" ");
91 TString typeName =
"TFriendPx_";
93 fprintf(hf,
"%-*s%-*s %s;\n",
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool IsEquivalent(const TBranchProxyDescriptor *other, bool inClass=false)
Return true if this description is the 'same' as the other description.
bool IsEquivalent(const TFriendProxyDescriptor *other)
Return true if this descriptor and the other are equivalent (describe the same entity).
void OutputDecl(FILE *hf, int offset, UInt_t maxVarname)
Print the declaration needed for this descriptor.
void OutputClassDecl(FILE *hf, int offset, UInt_t maxVarname)
Print the declaration needed for this descriptor.
TFriendProxyDescriptor(const TFriendProxyDescriptor &b)
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
const char * Data() const