ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/selection/NameFinder.cpp
(Generate patch)

Comparing branches/development/src/selection/NameFinder.cpp (file contents):
Revision 1873 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 65 | Line 65 | namespace OpenMD {
65  
66    void NameFinder::loadNames() {
67  
68    std::map<std::string, TreeNode*>::iterator foundIter;
68      SimInfo::MoleculeIterator mi;
69      Molecule* mol;
70      Molecule::AtomIterator ai;
# Line 229 | Line 228 | namespace OpenMD {
228  
229    void NameFinder::matchInternalIndex(const std::string& name, int internalIndex, OpenMDBitSet& bs){
230  
232    std::map<std::string, TreeNode*>::iterator foundIter;
231      SimInfo::MoleculeIterator mi;
232      Molecule* mol;
233  
# Line 251 | Line 249 | namespace OpenMD {
249      }
250    }
251  
252 <  bool NameFinder::isInteger(const std::string str) {
252 >  bool NameFinder::isInteger(const std::string &str) {
253      for(unsigned int i = 0; i < str.size(); ++i){
254        if (!std::isdigit(str[i])) {
255          return false;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines