16 #include "Riostream.h"
17 #include "TObjArray.h"
34 if ((par!=0) && membervalues) {
46 SetTitle(
"TGo4ParameterStatus title");
89 par->SetName(GetName());
97 GO4TRACE((12,
"TGo4ParameterStatus::PrintStatus()",__LINE__, __FILE__));
98 if(buflen<=0 && buffer!=0)
return 0;
99 Int_t locallen = 128000;
100 Text_t localbuf[128000];
102 Text_t* current = localbuf;
103 Int_t restlen = locallen;
108 current =
PrintBuffer(current, restlen,
"G-OOOO-> Parameter Status Class Printout <-OOOO-G\n");
110 current =
PrintBuffer(current, restlen,
"G-OOOO-> ---------------------------------------------- <-OOOO-G\n");
115 std::cout << localbuf << std::endl;
117 size = locallen-restlen;
118 if(size>buflen-1) size = buflen-1;
119 strncpy(buffer,localbuf,size);
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
Bool_t UpdateParameterValues(TGo4Parameter *par)
TObjArray * GetMemberValues(Bool_t takeit=kFALSE)
static Text_t * PrintIndent(Text_t *buffer, Int_t &buflen)
TGo4Parameter * CreateParameter()
Bool_t SetMemberValues(TObjArray *fItems)
const char * GetObjectClass() const
virtual Bool_t UpdateFrom(TGo4Parameter *rhs)
virtual Bool_t CustomUpdateFrom() const
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
TObjArray * fxMemberValues
virtual ~TGo4ParameterStatus()
static Text_t * PrintBuffer(char *buffer, Int_t &buflen, const char *text,...)
void GetMemberValues(TObjArray *fItems)