Ignore:
Timestamp:
Nov 4, 2009, 7:56:04 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
4ef101, aa8542
Parents:
ec70ec
Message:

Huge change from ofstream * (const) out --> Log().

  • first shift was done via regular expressions
  • then via error messages from the code
  • note that class atom, class element and class molecule kept in parts their output stream, was they print to file.
  • make check runs fine
  • MISSING: Verbosity is not fixed for everything (i.e. if no endl; is present and next has Verbose(0) ...)

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/bond.cpp

    rec70ec r543ce4  
    6363  if(rightatom == Atom)
    6464    return leftatom;
    65   cerr << "Bond " << *this << " does not contain atom " << *Atom << "!" << endl;
     65  eLog() << Verbose(0) << "Bond " << *this << " does not contain atom " << *Atom << "!" << endl;
    6666  return NULL;
    6767};
     
    9999bool bond::MarkUsed(const enum Shading color) {
    100100  if (Used == black) {
    101     cerr << "ERROR: Bond " << this << " was already marked black!." << endl;
     101    eLog() << Verbose(0) << "ERROR: Bond " << this << " was already marked black!." << endl;
    102102    return false;
    103103  } else {
Note: See TracChangeset for help on using the changeset viewer.