Changeset db6b872 for molecuilder/src/atom.hpp
- Timestamp:
- Mar 4, 2010, 10:34:52 AM (16 years ago)
- Children:
- fe3540
- Parents:
- d50264 (diff), f058ef (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
molecuilder/src/atom.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/atom.hpp
rd50264 rdb6b872 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: … … 79 79 void setWorld(World*); 80 80 81 virtual int getId(); 82 virtual void setId(int); 81 virtual atomId_t getId(); 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.
