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

Comparing trunk/OOPSE-2.0/src/selection/SelectionEvaluator.hpp (file contents):
Revision 2034 by tim, Tue Feb 15 17:49:58 2005 UTC vs.
Revision 2097 by tim, Wed Mar 9 17:30:29 2005 UTC

# Line 52 | Line 52
52   #include "selection/SelectionCompiler.hpp"
53   #include "selection/NameFinder.hpp"
54   #include "selection/DistanceFinder.hpp"
55 + #include "selection/IndexFinder.hpp"
56   #include "utils/BitSet.hpp"
57   #include "primitives/StuntDouble.hpp"
58   #include "utils/StringUtils.hpp"
59   namespace oopse {
60  
61  
61 //class Context {
62 //    public:
63 //        
64 //        void clear() {
65 //            linenumbers.clear();
66 //            lineIndices.clear();
67 //            aatoken.clear();
68 //        }
69 //        
70 //        std::string filename;
71 //        std::string script;
72 //        std::vector<int> linenumbers;
73 //        std::vector<int> lineIndices;
74 //        std::vector<std::vector<Token> > aatoken;
75 //        int pc;
76 //};
77
78
62   /**
63   * @class SelectionEvaluator SelectionEvaluator.hpp "selection/SelectionEvaluator"
64   * @brief Evalute the tokens compiled by SelectionCompiler and return a BitSet
# Line 91 | Line 74 | class SelectionEvaluator{
74          
75          BitSet evaluate();
76          
94        //BitSet evaluate(Snapshot* snapshot);
95
77          /**
78           * Tests if the result from evaluation of script is dynamic.
79           */        
# Line 204 | Line 185 | class SelectionEvaluator{
185          SimInfo* info;
186          NameFinder nameFinder;
187          DistanceFinder distanceFinder;
188 +        IndexFinder indexFinder;
189          int nStuntDouble;   //natoms + nrigidbodies
190  
191          typedef std::map<std::string, boost::any > VariablesType;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines