Added possibility to print header to first line of output file; control through last bool in constructor - default = false...
This commit is contained in:
parent
7c8da3722e
commit
aa76efbb29
2 changed files with 28 additions and 20 deletions
|
|
@ -52,6 +52,11 @@ eoMonitor& eoFileMonitor::operator()(void)
|
|||
throw runtime_error(str);
|
||||
}
|
||||
|
||||
if (firstcall && !keep && header ){
|
||||
printHeader();
|
||||
firstcall = false;
|
||||
}
|
||||
|
||||
return operator()(os);
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue