fix #13: remove the use of the verbose members, replaced by the eo::log system ; functions prototypes keep their verbose parameters, but display a warning until next version

This commit is contained in:
Johann Dreo 2010-10-30 23:30:40 +02:00
commit a9f382a30c
7 changed files with 32 additions and 37 deletions

View file

@ -42,7 +42,11 @@ 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) {}
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;
}
virtual std::string className(void) const { return "eoStdoutMonitor"; }
};