16 #include "Riostream.h"
20 #include "TBranchElement.h"
32 if(branch->InheritsFrom(TBranchElement::Class()))
33 fxObjectClass = (dynamic_cast<TBranchElement*>(branch))->GetTypeName();
38 fxObjectClass = branch ? branch->ClassName() :
"BranchElement";
48 GO4TRACE((12,
"TGo4BranchStatus::PrintStatus()",__LINE__, __FILE__));
49 if(buflen<=0 && buffer!=0)
51 Int_t locallen=128000;
52 Text_t localbuf[128000];
54 Text_t* current=localbuf;
55 Int_t restlen=locallen;
60 current=
PrintBuffer(current,restlen,
"G-OOOO-> TreeBranch Status Class Printout <-OOOO-G\n");
62 current=
PrintBuffer(current,restlen,
"G-OOOO-> ---------------------------------------------- <-OOOO-G\n");
65 std::cout << localbuf << std::endl;
69 size=locallen-restlen;
72 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,...)