Ignore:
Timestamp:
Oct 7, 2009, 2:29:57 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
17b3a5c
Parents:
972706
git-author:
Frederik Heber <heber@…> (10/07/09 14:26:53)
git-committer:
Frederik Heber <heber@…> (10/07/09 14:29:57)
Message:

used forward declaration to untangle atom and bond declarations, molecule::CreateListOfBondsPerAtom() uses ActOnAllAtoms

  • a major problem is two classes depending on one another and we've often made constraints in order to accommodate for this. But there is an easier solution: Have forward declarations of the other class in each header file, only include the true other header file in each implementation (i.e. cpp file).
  • This was done with atom and bond class to allow for a new function atom::OutputBondOfAtom()
  • molecule::CreateListOfBondsPerAtom() uses ActOnAllAtoms with this new function.
File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.