Added possibility to print header to first line of output file; control through last bool in constructor - default = false...

This commit is contained in:
okoenig 2003-11-19 13:29:15 +00:00
commit aa76efbb29
2 changed files with 28 additions and 20 deletions

View file

@ -52,6 +52,11 @@ eoMonitor& eoFileMonitor::operator()(void)
throw runtime_error(str);
}
if (firstcall && !keep && header ){
printHeader();
firstcall = false;
}
return operator()(os);
}