Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/element.cpp

    r112b09 re345e3  
    2626        next(NULL),
    2727        sort(NULL),
    28         No(-1),
    2928        Valence(0),
    3029        NoValenceOrbitals(0)
     
    7069  return string(symbol);
    7170}
     71
     72std::string element::getName() const{
     73  return string(name);
     74}
     75
     76std::ostream &operator<<(std::ostream &ost,const element &elem){
     77  ost << elem.getName() << "(" << elem.getNumber() << ")";
     78  return ost;
     79}
Note: See TracChangeset for help on using the changeset viewer.