# | 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |