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

@ -43,7 +43,10 @@ class eoOStreamMonitor : public eoMonitor
{
public :
eoOStreamMonitor( std::ostream & _out, bool _verbose=true, std::string _delim = "\t", unsigned int _width=20, char _fill=' ' ) :
out(_out), verbose(_verbose), delim(_delim), width(_width), fill(_fill), firsttime(true) {}
out(_out), delim(_delim), width(_width), fill(_fill), firsttime(true)
{
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;
}
eoMonitor& operator()(void);
@ -51,7 +54,6 @@ public :
private :
std::ostream & out;
bool verbose;
std::string delim;
unsigned int width;
char fill;