alternate function prototypes without verbose parameter
This commit is contained in:
parent
42c7dc28e1
commit
9c51b925b6
4 changed files with 24 additions and 8 deletions
|
|
@ -48,6 +48,10 @@ public :
|
|||
eo::log << eo::warnings << "WARNING: the use of the verbose parameter in eoOStreamMonitor constructor is deprecated and will be removed in the next release" << std::endl;
|
||||
}
|
||||
|
||||
eoOStreamMonitor( std::ostream & _out, std::string _delim = "\t", unsigned int _width=20, char _fill=' ' ) :
|
||||
out(_out), delim(_delim), width(_width), fill(_fill), firsttime(true)
|
||||
{}
|
||||
|
||||
eoMonitor& operator()(void);
|
||||
|
||||
virtual std::string className(void) const { return "eoOStreamMonitor"; }
|
||||
|
|
|
|||
|
|
@ -43,12 +43,16 @@ class eoStdoutMonitor : public eoOStreamMonitor
|
|||
public :
|
||||
eoStdoutMonitor(bool _verbose=true, std::string _delim = "\t", unsigned int _width=20, char _fill=' ' ) :
|
||||
eoOStreamMonitor( std::cout, _verbose, _delim, _width, _fill)
|
||||
{
|
||||
|
||||
{
|
||||
eo::log << eo::warnings << "WARNING: the use of the verbose parameter in eoStdutMonitor constructor is deprecated and will be removed in the next release" << std::endl;
|
||||
}
|
||||
|
||||
eoStdoutMonitor(std::string _delim = "\t", unsigned int _width=20, char _fill=' ' ) :
|
||||
eoOStreamMonitor( std::cout, _delim, _width, _fill)
|
||||
{}
|
||||
|
||||
virtual std::string className(void) const { return "eoStdoutMonitor"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Reference in a new issue