ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/visitors/OtherVisitor.hpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/visitors/OtherVisitor.hpp (file contents):
Revision 1976 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 1977 by tim, Fri Feb 4 22:45:48 2005 UTC

# Line 57 | Line 57 | class IgnoreVisitor : public BaseVisitor{
57   //IgnoreVisitor will turn on the ignoring flag of the stuntdouble
58   class IgnoreVisitor : public BaseVisitor{
59    public:
60 <    IgnoreVisitor() : BaseVisitor() {visitorName = "IgnoreVisitor";}
60 >    IgnoreVisitor(SimInfo* info) : BaseVisitor() {this->info = info; visitorName = "IgnoreVisitor";}
61  
62      virtual void visit(Atom* atom);
63      virtual void visit(DirectionalAtom* datom);
# Line 71 | Line 71 | class IgnoreVisitor : public BaseVisitor{
71      bool isIgnoreType(const std::string& name);
72      void internalVisit(StuntDouble* sd);
73      std::set<std::string> itList; //ignore type list;
74 +    SimInfo* info;
75   };
76  
77  
# Line 125 | Line 126 | class XYZVisitor : public BaseVisitor{
126      
127    protected:
128      void internalVisit(StuntDouble* sd);
129 <    bool isIgnore(StuntDouble* sd);
129 >    bool isSelected(StuntDouble* sd);
130  
131    private:  
132      SimInfo* info;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines