- Timestamp:
- Jan 24, 2024, 4:53:03 PM (22 months ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- d203d1e
- Parents:
- d083cc
- git-author:
- Frederik Heber <frederik.heber@…> (01/22/24 22:21:29)
- git-committer:
- Frederik Heber <frederik.heber@…> (01/24/24 16:53:03)
- Location:
- src/Graph
- Files:
- 
      - 2 edited
 
 - 
          
  Graph6Writer.cpp (modified) (1 diff)
- 
          
  Graph6Writer.hpp (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      src/Graph/Graph6Writer.cpprd083cc r5a479d 158 158 bool OnlyNonHydrogens(const bond &_bond) { 159 159 return _bond.HydrogenBond == 0; 160 } 161 162 void Graph6Writer::write_simple_elementlist(std::ostream& out) { 163 bool isFirst = true; 164 for(std::vector<const atom *>::const_iterator iter = _atoms.begin(); 165 iter != _atoms.end(); ++iter) { 166 const atom *walker = *iter; 167 if (walker->getElement().getAtomicNumber() != (atomicNumber_t)1) { 168 if (!isFirst) 169 out << ' '; 170 isFirst = false; 171 out << walker->getElement().getSymbol(); 172 } 173 } 160 174 } 161 175 
- 
      src/Graph/Graph6Writer.hpprd083cc r5a479d 44 44 void write_elementlist(std::ostream& out); 45 45 46 void write_simple_elementlist(std::ostream& out); 47 46 48 private: 47 49 atomId_t getBoundaryNonHydrogen() const; 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
