ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/visitors/ZconsVisitor.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/visitors/ZconsVisitor.hpp (file contents):
Revision 1817, Thu Oct 28 22:34:02 2004 UTC vs.
Revision 1818 by tim, Wed Dec 1 20:05:49 2004 UTC

# Line 5 | Line 5 | enum ZConsState{zsFixed, zsMoving};
5   #include "io/ZConsReader.hpp"
6   #include "visitors/AtomData.hpp"
7   #include "constraints/ZconsData.hpp"
8 +
9 + #include "primitives/RigidBody.hpp"
10 +
11   enum ZConsState{zsFixed, zsMoving};
12 +
13   namespace oopse {
14      
15   class ZConsVisitor : public BaseVisitor{
# Line 23 | Line 27 | class ZConsVisitor : public BaseVisitor{
27      
28      bool haveZconsMol() {return haveZcons;}
29  
30 <    virtual const string toString();
30 >    virtual const std::string toString();
31    protected:
32 <    void internalVisit(StuntDouble* sd, const string& prefix);
33 <    bool isZconstraint(int index, string& prefix);
30 <    Molecule* findZconsMol(int index);
32 >    void internalVisit(StuntDouble* sd, const std::string& prefix);
33 >    bool isZconstraint(int index, std::string& prefix);
34      void getZconsPos(double time);
35      
36    private:  
37 <    vector<Molecule*> zconsMol;
38 <    vector<double> zconsPos;
39 <    map<int, ZConsState> zconsState;
37 >    std::vector<Molecule*> zconsMol;
38 >    std::vector<double> zconsPos;
39 >    std::map<int, ZConsState> zconsState;
40      bool haveZcons;
41      double zconsTol;
42      double zconsTime;
43 <    string zconsFilename;
43 >    std::string zconsFilename;
44      ZConsReader* zconsReader;
45      SimInfo* info;
46   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines