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