19 #include "TBranchElement.h"
31 if(branch->InheritsFrom(TBranchElement::Class()))
32 fxObjectClass = (dynamic_cast<TBranchElement*>(branch))->GetTypeName();
37 fxObjectClass = branch ? branch->ClassName() :
"BranchElement";
47 GO4TRACE((12,
"TGo4BranchStatus::PrintStatus()",__LINE__, __FILE__));
48 if(buflen<=0 && buffer!=0)
50 Int_t locallen=128000;
51 Text_t localbuf[128000];
53 Text_t* current=localbuf;
54 Int_t restlen=locallen;
59 current=
PrintBuffer(current,restlen,
"G-OOOO-> TreeBranch Status Class Printout <-OOOO-G\n");
61 current =
PrintBuffer(current, restlen,
"G-OOOO-> ---------------------------------------------- <-OOOO-G\n");
63 std::cout << localbuf << std::endl;
65 size = locallen - restlen;
66 if (size > buflen - 1)
68 strncpy(buffer, localbuf, size);
virtual ~TGo4BranchStatus()
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
static Text_t * PrintIndent(Text_t *buffer, Int_t &buflen)
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
static Text_t * PrintBuffer(char *buffer, Int_t &buflen, const char *text,...)