Changes in src/Atom/atom.hpp [d05088:8cc22f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/Atom/atom.hpp ¶
rd05088 r8cc22f 25 25 #include "atom_bondedparticle.hpp" 26 26 #include "atom_graphnode.hpp" 27 #include "atom_observable.hpp"28 27 #include "atom_particleinfo.hpp" 29 28 #include "Atom/TesselPoint.hpp" 30 29 #include "types.hpp" 31 30 32 #include "CodePatterns/Observer/Observer.hpp"33 31 #include "CodePatterns/enumeration.hpp" 34 32 … … 46 44 * Class incorporates position, type 47 45 */ 48 class atom : 49 public GraphNode, 50 public BondedParticle, 51 public TesselPoint 52 { 46 class atom : public GraphNode, public BondedParticle, public TesselPoint { 53 47 friend atom* NewAtom(atomId_t); 54 48 friend void DeleteAtom(atom*); 55 56 atom *father; //!< In many-body bond order fragmentations points to originating atom57 int *sort; //!< sort criteria58 59 49 public: 50 atom *father; //!< In many-body bond order fragmentations points to originating atom 51 int *sort; //!< sort criteria 60 52 61 53 /** Clones this atom. … … 138 130 */ 139 131 const atom *GetTrueFather() const; 140 141 /** Const getter for the atoms father.142 *143 * \return father of this atom144 */145 atom * const getFather() const146 { return father; }147 148 /** Sets the father for this atom.149 *150 * \param _father ptr to father atom151 */152 void setFather(atom * const _father);153 132 154 133 /** Compares the indices of \a this atom with a given \a ptr. … … 249 228 void unsetMolecule(); 250 229 251 // virtual void update(Observable *publisher);252 // virtual void recieveNotification(Observable *publisher, Notification_ptr notification);253 virtual void subjectKilled(Observable *publisher);254 230 255 231 private:
Note:
See TracChangeset
for help on using the changeset viewer.