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

Comparing trunk/OOPSE-2.0/src/selection/NameFinder.cpp (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2469 by tim, Fri Dec 2 15:38:03 2005 UTC

# Line 127 | Line 127 | namespace oopse {
127      return node;
128    }
129  
130 <  BitSet NameFinder::match(const std::string& name){
131 <    BitSet bs(nStuntDouble_);
130 >  OOPSEBitSet NameFinder::match(const std::string& name){
131 >    OOPSEBitSet bs(nStuntDouble_);
132    
133      StringTokenizer tokenizer(name, ".");
134  
# Line 173 | Line 173 | namespace oopse {
173      return bs;
174    }
175  
176 <  void NameFinder::matchMolecule(const std::string& molName, BitSet& bs) {
176 >  void NameFinder::matchMolecule(const std::string& molName, OOPSEBitSet& bs) {
177      std::vector<TreeNode*> molNodes = getMatchedChildren(root_, molName);            
178      std::vector<TreeNode*>::iterator i;
179      for( i = molNodes.begin(); i != molNodes.end(); ++i ) {
# Line 181 | Line 181 | namespace oopse {
181      }    
182    }
183  
184 <  void NameFinder::matchStuntDouble(const std::string& molName, const std::string& sdName, BitSet& bs){
184 >  void NameFinder::matchStuntDouble(const std::string& molName, const std::string& sdName, OOPSEBitSet& bs){
185      std::vector<TreeNode*> molNodes = getMatchedChildren(root_, molName);            
186      std::vector<TreeNode*>::iterator i;
187      for( i = molNodes.begin(); i != molNodes.end(); ++i ) {
# Line 194 | Line 194 | namespace oopse {
194  
195    }
196  
197 <  void NameFinder::matchRigidAtoms(const std::string& molName, const std::string& rbName, const std::string& rbAtomName, BitSet& bs){
197 >  void NameFinder::matchRigidAtoms(const std::string& molName, const std::string& rbName, const std::string& rbAtomName, OOPSEBitSet& bs){
198      std::vector<TreeNode*> molNodes = getMatchedChildren(root_, molName);            
199      std::vector<TreeNode*>::iterator i;
200      for( i = molNodes.begin(); i != molNodes.end(); ++i ) {
# Line 229 | Line 229 | namespace oopse {
229    }
230  
231  
232 <  void NameFinder::matchInternalIndex(const std::string& name, int internalIndex, BitSet& bs){
232 >  void NameFinder::matchInternalIndex(const std::string& name, int internalIndex, OOPSEBitSet& bs){
233  
234      std::map<std::string, TreeNode*>::iterator foundIter;
235      SimInfo::MoleculeIterator mi;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines