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