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 658 by tim, Thu Jul 31 15:35:07 2003 UTC vs.
Revision 682 by tim, Tue Aug 12 17:51:33 2003 UTC

# Line 16 | Line 16 | IndexData::IndexData(){
16    return *this;
17   }
18  
19 < IndexData::IndexData(){
20 <
21 <  id = "IndexData";
22 <
19 > ZConsParaData::ZConsParaData(){
20 >  id = ZCONSPARADATA_ID;
21   }
22  
23 < IndexData::IndexData(const IndexData& rhs)
24 <               : GenericData(rhs), indexData(rhs.indexData){
25 <
28 < }
29 <
30 < IndexData& IndexData::operator = (const IndexData& rhs){
31 <  
32 <  if(this == &rhs)
33 <    return (*this);
34 <    
35 <  //chain to base class  
36 <  GenericData::operator =(rhs);
37 <  
38 <  indexData = rhs.indexData;
39 <  
40 <  return (*this);
41 <
42 < }
23 > void ZConsParaData::sortByIndex(){
24 >  sort(data.begin(), data.end(), ZConsParaSortCriterion());
25 > }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines