--- trunk/src/selection/SelectionEvaluator.hpp 2005/03/09 17:28:11 412 +++ trunk/src/selection/SelectionEvaluator.hpp 2005/03/09 17:30:29 413 @@ -52,30 +52,13 @@ #include "selection/SelectionCompiler.hpp" #include "selection/NameFinder.hpp" #include "selection/DistanceFinder.hpp" +#include "selection/IndexFinder.hpp" #include "utils/BitSet.hpp" #include "primitives/StuntDouble.hpp" #include "utils/StringUtils.hpp" namespace oopse { -//class Context { -// public: -// -// void clear() { -// linenumbers.clear(); -// lineIndices.clear(); -// aatoken.clear(); -// } -// -// std::string filename; -// std::string script; -// std::vector linenumbers; -// std::vector lineIndices; -// std::vector > aatoken; -// int pc; -//}; - - /** * @class SelectionEvaluator SelectionEvaluator.hpp "selection/SelectionEvaluator" * @brief Evalute the tokens compiled by SelectionCompiler and return a BitSet @@ -91,8 +74,6 @@ class SelectionEvaluator{ BitSet evaluate(); - //BitSet evaluate(Snapshot* snapshot); - /** * Tests if the result from evaluation of script is dynamic. */ @@ -204,6 +185,7 @@ class SelectionEvaluator{ SimInfo* info; NameFinder nameFinder; DistanceFinder distanceFinder; + IndexFinder indexFinder; int nStuntDouble; //natoms + nrigidbodies typedef std::map VariablesType;