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

Comparing trunk/OOPSE/libmdtools/GenericData.hpp (file contents):
Revision 1092 by tim, Tue Mar 16 19:22:56 2004 UTC vs.
Revision 1093 by tim, Wed Mar 17 14:22:59 2004 UTC

# Line 12 | Line 12
12   #define ZCONSFORCEPOLICY_ID "ZCONSFORCEPOLICY"
13   #define ZCONSGAP_ID "ZCONSGAP"
14   #define ZCONSFIXTIME_ID "ZCONSFIXTIME"
15 + #define ZCONSUSINGSMD_ID "ZCONSUSINGSMD"
16  
17   #define CHIVALUE_ID "CHIVALUE"
18   #define INTEGRALOFCHIDT_ID "INTEGRALOFCHIDT"
# Line 37 | Line 38 | class GenericData
38   /** Something we can improve it here is to use template
39   **
40   */
41 +
42 + class IntData : public GenericData{
43 +
44 +  public:
45 +
46 +    double getData()         { return data; }
47 +    void setData(int rhs) { data = rhs;  }
48 +
49 +  protected:
50 +    int data;
51 + };
52 +
53   class DoubleData : public GenericData{
54  
55    public:
# Line 62 | Line 75 | struct ZConsParaItem {
75    bool havingZPos;
76    double zPos;
77    double kRatio;
78 +  bool havingCantVel;
79 +  double cantVel;
80   };
81  
82   class ZConsParaData : public GenericData{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines