Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/Element/periodentafel.hpp

    r47ed3d r37ef6d  
    2222
    2323class element;
     24class ion;
    2425
    2526/********************************************** declarations *******************************/
     
    3334private:
    3435  typedef std::map<atomicNumber_t,element*> elementSet;
     36  typedef std::map<int,ion*> ionSet;
     37  typedef std::map<atomicNumber_t,ionSet> IonsPerElement;
    3538public:
    3639  typedef elementSet::iterator iterator;
     
    4851  void CleanupPeriodtable();
    4952  const element * FindElement(atomicNumber_t) const;
     53  const element * FindElement(atomicNumber_t, const int);
    5054  const element * FindElement(const std::string &shorthand) const;
    5155  const element * AskElement() const;
     
    7680    ar & boost::serialization::make_array<char>(header2, MAXSTRINGSIZE);
    7781    ar & elements;
     82    ar & ions;
    7883  }
    7984
     
    9398
    9499  elementSet elements;
     100  IonsPerElement ions;
    95101};
    96102
Note: See TracChangeset for help on using the changeset viewer.