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

Comparing trunk/OOPSE-2.0/src/selection/NameFinder.hpp (file contents):
Revision 1968 by tim, Fri Feb 4 04:57:04 2005 UTC vs.
Revision 1987 by tim, Mon Feb 7 22:36:32 2005 UTC

# Line 43 | Line 43
43   #include <set>
44   #include <string>
45   #include <map>
46 <
46 > #include "brains/SimInfo.hpp"
47   #include "utils/BitSet.hpp"
48   namespace oopse {
49  
# Line 59 | Line 59 | class NameFinder{
59      public:
60          NameFinder(SimInfo* info);
61          ~NameFinder();
62 <        bool match(const std::string& name, BitSet& bs);
62 >        BitSet  match(const std::string& name);
63  
64      private:
65          void loadNames();
# Line 67 | Line 67 | class NameFinder{
67          void matchStuntDouble(const std::string& molName, const std::string& sdName, BitSet& bs);
68          void matchRigidAtoms(const std::string& molName, const std::string& rbName, const std::string& rbAtomName, BitSet& bs);
69  
70 +        void matchInternalIndex(const std::string& name, int internalIndex, BitSet& bs);
71 +
72 +        TreeNode* createNode(TreeNode* parent, const std::string& name);
73          std::vector<TreeNode*> getMatchedChildren(TreeNode* node, const std::string& name);
74          bool isMatched(const std::string& str, const std::string& wildcard);
75  
76 +        bool isInteger(const std::string str);
77 +
78          SimInfo* info_;
79          int nStuntDouble_;
80          TreeNode* root_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines