| 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 |
|
|
| 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 ) { |
| 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 ) { |
| 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 ) { |
| 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; |