#include "hdebug.h"
#include <stdio.h>
ClassImp(HDebug)
HDebug::HDebug(void) {
fIdentLevel=0;
gDebuger=this;
}
HDebug::~HDebug(void) {
}
void HDebug::message(Text_t *format,...) {
va_list ap;
va_start(ap,format);
for (Int_t i=0;i<fIdentLevel*2;i++) putchar(' ');
vprintf(format,ap);
putchar('\n');
va_end(ap);
}
void HDebug::enterFunc(Text_t *func) {
message("entering %s",func);
incIdentLevel();
}
void HDebug::leaveFunc(Text_t *func) {
message("returning from %s",func);
decIdentLevel();
}
HDebug *gDebuger=0;
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.