Ignore:
Timestamp:
Feb 24, 2010, 4:21:12 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
5bf941
Parents:
01d28a
git-author:
Tillmann Crueger <crueger@…> (02/24/10 15:29:12)
git-committer:
Tillmann Crueger <crueger@…> (02/24/10 16:21:12)
Message:

Made the world solely responsible for creating and destroying atoms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/atom_particleinfo.cpp

    r01d28a r7bfc19  
    1313ParticleInfo::ParticleInfo() : nr(-1), Name(NULL) {};
    1414
     15ParticleInfo::ParticleInfo(ParticleInfo *pointer) :
     16    Name(pointer->Name),
     17    nr(pointer->nr)
     18    {}
     19
     20
    1521/** Destructor of ParticleInfo.
    1622 */
     
    1925  Free(&Name);
    2026};
    21 
    22 int ParticleInfo::getId() {
    23   return nr;
    24 }
    2527
    2628ostream & operator << (ostream &ost, const ParticleInfo &a)
Note: See TracChangeset for help on using the changeset viewer.