ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/GenericData.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/GenericData.cpp (file contents):
Revision 787 by mmeineke, Thu Sep 25 19:27:15 2003 UTC vs.
Revision 1234 by tim, Fri Jun 4 03:15:31 2004 UTC

# Line 1 | Line 1
1   #include "GenericData.hpp"
2 <
2 > ////////////////////////////////////////////////////////////////////////////////
3 > //Implementation of GenericData
4 > ////////////////////////////////////////////////////////////////////////////////
5   GenericData::GenericData(){
6  
7    id = "undefined";
# Line 16 | Line 18 | GenericData& GenericData::operator = (const GenericDat
18    return *this;
19   }
20  
21 + ////////////////////////////////////////////////////////////////////////////////
22 + //Implementation of ZConsParaData
23 + ////////////////////////////////////////////////////////////////////////////////
24   ZConsParaData::ZConsParaData(){
25    id = ZCONSPARADATA_ID;
26   }
# Line 32 | Line 37 | bool ZConsParaData::isIndexUnique(){
37  
38    return true;
39   }
40 +
41 + ////////////////////////////////////////////////////////////////////////////////
42 + //Implementation of AtomData
43 + ////////////////////////////////////////////////////////////////////////////////
44 + AtomData::~AtomData(){
45 +  vector<AtomInfo*>::iterator i;
46 +  AtomInfo* atomInfo;
47 +
48 +  for(atomInfo = beginAtomInfo(i); atomInfo; atomInfo  = nextAtomInfo(i))
49 +    delete atomInfo;
50 +
51 +  data.clear();
52 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines