Changes in src/atom_particleinfo.cpp [24a5e0:d346b6]
- File:
-
- 1 edited
-
src/atom_particleinfo.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/atom_particleinfo.cpp
r24a5e0 rd346b6 13 13 ParticleInfo::ParticleInfo() : nr(-1), Name(NULL) {}; 14 14 15 ParticleInfo::ParticleInfo(ParticleInfo *pointer) :16 nr(pointer->nr),17 Name(pointer->Name)18 {}19 20 21 15 /** Destructor of ParticleInfo. 22 16 */ … … 25 19 Free(&Name); 26 20 }; 21 22 int ParticleInfo::getId() { 23 return nr; 24 } 27 25 28 26 ostream & operator << (ostream &ost, const ParticleInfo &a)
Note:
See TracChangeset
for help on using the changeset viewer.
