Changes in src/molecule.hpp [a7aebd:833b15]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/molecule.hpp
ra7aebd r833b15 57 57 /************************************* Class definitions ****************************************/ 58 58 59 /** External function to remove all atoms since this will also delete the molecule60 *61 * \param _mol ref pointer to molecule to destroy62 */63 void removeAtomsinMolecule(molecule *&_mol);64 65 59 /** The complete molecule. 66 60 * Class incorporates number of types … … 111 105 AtomRemoved, 112 106 AtomNrChanged, 113 AtomMoved,114 107 MoleculeNameChanged, 115 108 NotificationType_MAX 116 109 }; 117 118 //>! access to last changed element (atom)119 const atom* lastChanged() const120 { return _lastchangedatom; }121 110 122 111 public: … … 268 257 bool UnlinkAtom(atom *pointer); 269 258 bool CleanupMolecule(); 259 void removeAtomsinMolecule(); 270 260 271 261 /// Add/remove atoms to/from molecule. … … 328 318 void flipActiveFlag(); 329 319 330 virtual void update(Observable *publisher);331 virtual void recieveNotification(Observable *publisher, Notification_ptr notification);332 virtual void subjectKilled(Observable *publisher);333 334 320 private: 335 friend const atom *detail::lastChanged<atom>();336 atom *_lastchangedatom;337 338 321 int last_atom; //!< number given to last atom 339 322 };
Note:
See TracChangeset
for help on using the changeset viewer.