Changeset 3746aeb for molecuilder/src/atom.hpp
- Timestamp:
- Mar 3, 2010, 5:47:40 PM (16 years ago)
- Children:
- 4938aa, f058ef
- Parents:
- 14d898
- File:
-
- 1 edited
-
molecuilder/src/atom.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/atom.hpp
r14d898 r3746aeb 40 40 */ 41 41 class atom : public TesselPoint, public TrajectoryParticle, public GraphNode, public BondedParticle, public virtual ParticleInfo, public virtual AtomInfo { 42 friend atom* NewAtom( );42 friend atom* NewAtom(atomId_t); 43 43 friend void DeleteAtom(atom*); 44 44 public: … … 80 80 81 81 virtual int getId(); 82 virtual void setId(int); 82 virtual bool changeId(atomId_t newId); 83 84 /** 85 * this function sets the Id without notifying the world. Only use it, if the world has already 86 * gotten an ID for this Atom. 87 */ 88 virtual void setId(atomId_t); 89 83 90 protected: 84 91 /** … … 101 108 private: 102 109 World* world; 103 int id;110 atomId_t id; 104 111 }; 105 112 … … 109 116 * Use World::createAtom() instead. 110 117 */ 111 atom* NewAtom( );118 atom* NewAtom(atomId_t _id); 112 119 113 120 /**
Note:
See TracChangeset
for help on using the changeset viewer.
