Ignore:
Timestamp:
Oct 9, 2008, 4:19:39 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
b86de7
Parents:
68cfd1
Message:

Output of atom and bond to stream now is set to const bond/atom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/bond.cpp

    r68cfd1 ra7b3b8  
    8282};
    8383
    84 ostream & operator << (ostream &ost, bond &b)
     84ostream & operator << (ostream &ost, const bond &b)
    8585{
    8686  ost << "[" << b.leftatom->Name << " <" << b.BondDegree << "(H" << b.HydrogenBond << ")>" << b.rightatom->Name << "]";
     
    9898  if(rightatom == Atom)
    9999    return leftatom;
     100  cerr << "Bond " << *this << " does not contain atom " << *Atom << "!" << endl;
    100101  return NULL;
    101102};
Note: See TracChangeset for help on using the changeset viewer.