--- trunk/OOPSE/libmdtools/GenericData.cpp 2003/09/25 19:27:15 787 +++ trunk/OOPSE/libmdtools/GenericData.cpp 2004/06/04 03:15:31 1234 @@ -1,5 +1,7 @@ #include "GenericData.hpp" - +//////////////////////////////////////////////////////////////////////////////// +//Implementation of GenericData +//////////////////////////////////////////////////////////////////////////////// GenericData::GenericData(){ id = "undefined"; @@ -16,6 +18,9 @@ GenericData& GenericData::operator = (const GenericDat return *this; } +//////////////////////////////////////////////////////////////////////////////// +//Implementation of ZConsParaData +//////////////////////////////////////////////////////////////////////////////// ZConsParaData::ZConsParaData(){ id = ZCONSPARADATA_ID; } @@ -32,3 +37,16 @@ bool ZConsParaData::isIndexUnique(){ return true; } + +//////////////////////////////////////////////////////////////////////////////// +//Implementation of AtomData +//////////////////////////////////////////////////////////////////////////////// +AtomData::~AtomData(){ + vector::iterator i; + AtomInfo* atomInfo; + + for(atomInfo = beginAtomInfo(i); atomInfo; atomInfo = nextAtomInfo(i)) + delete atomInfo; + + data.clear(); +} \ No newline at end of file