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

Comparing trunk/OOPSE/libmdtools/Atom.hpp (file contents):
Revision 1113 by tim, Thu Apr 15 16:18:26 2004 UTC vs.
Revision 1126 by tim, Tue Apr 20 05:39:38 2004 UTC

# Line 7 | Line 7
7  
8   #include "SimState.hpp"
9   #include "StuntDouble.hpp"
10 + #include "BaseVisitor.hpp"
11  
12   class Atom : public StuntDouble {
13   public:
# Line 50 | Line 51 | class Atom : public StuntDouble { (public)
51    void setHasCharge(int value) {has_charge = value;}
52    int hasCharge(void) {return has_charge;}
53  
54 +
55 +  virtual void accept(BaseVisitor* v) {v->visit(this);}
56 +  
57   protected:
58    
59    SimState* myConfig;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines