ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new-templateless/OOPSE/libmdtools/GenericData.hpp
(Generate patch)

Comparing branches/new-templateless/OOPSE/libmdtools/GenericData.hpp (file contents):
Revision 850 by mmeineke, Mon Nov 3 22:07:17 2003 UTC vs.
Revision 851 by mmeineke, Wed Nov 5 19:18:17 2003 UTC

# Line 16 | Line 16 | class GenericData (public)
16   class GenericData
17   {
18   public:
19 <  GenericData()
19 >  GenericData();
20    GenericData(char* theID);
21    GenericData(char* theID, double theDval);
22    GenericData(char* theID, char* theCval);
# Line 59 | Line 59 | class GenericData (public)
59  
60    double dVal;
61    double *dArray;
62 <  int arrayLenth;
62 >  int arrayLength;
63    char cVal[GD_STRING_LENGTH];
64   };
65  
# Line 92 | Line 92 | class DoubleArrayData : public GenericData{
92  
93   // };
94  
95 class DoubleArrayData : public GenericData{
95  
97 public:
98   vector<double> getData() const  {  return data; }
99   void setData(double* source, int num){
100    data.clear();
101    for(int i = 0; i < num; i++)
102     data.push_back(source[i]);
103   }
104 protected:
105   vector<double> data;
106 };
96   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines