Changeset a7b3b8 for molecuilder
- Timestamp:
- Oct 9, 2008, 4:19:39 PM (17 years ago)
- Children:
- b86de7
- Parents:
- 68cfd1
- Location:
- molecuilder/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/atom.cpp
r68cfd1 ra7b3b8 85 85 }; 86 86 87 ostream & operator << (ostream &ost, atom &a)87 ostream & operator << (ostream &ost, const atom &a) 88 88 { 89 89 ost << "[" << a.Name << "|" << &a << "]"; -
molecuilder/src/bond.cpp
r68cfd1 ra7b3b8 82 82 }; 83 83 84 ostream & operator << (ostream &ost, bond &b)84 ostream & operator << (ostream &ost, const bond &b) 85 85 { 86 86 ost << "[" << b.leftatom->Name << " <" << b.BondDegree << "(H" << b.HydrogenBond << ")>" << b.rightatom->Name << "]"; … … 98 98 if(rightatom == Atom) 99 99 return leftatom; 100 cerr << "Bond " << *this << " does not contain atom " << *Atom << "!" << endl; 100 101 return NULL; 101 102 }; -
molecuilder/src/molecules.hpp
r68cfd1 ra7b3b8 154 154 }; 155 155 156 ostream & operator << (ostream &ost, atom &a);156 ostream & operator << (ostream &ost, const atom &a); 157 157 158 158 /** Bonds between atoms. … … 194 194 195 195 196 ostream & operator << (ostream &ost, bond &b);196 ostream & operator << (ostream &ost, const bond &b); 197 197 198 198 class MoleculeLeafClass;
Note:
See TracChangeset
for help on using the changeset viewer.
