36 #ifndef OPENMS_CHEMISTRY_ELEMENTDB_H 37 #define OPENMS_CHEMISTRY_ELEMENTDB_H 77 inline static const ElementDB * getInstance()
104 const Element * getElement(
UInt atomic_number)
const;
111 bool hasElement(
const String & name)
const;
115 bool hasElement(
UInt atomic_number)
const;
139 void readFromFile_(
const String & file_name);
A more convenient string class.
Definition: String.h:57
Map< String, const Element * > symbols_
Definition: ElementDB.h:147
unsigned int UInt
Unsigned integer type.
Definition: Types.h:95
Isotope distribution class.
Definition: IsotopeDistribution.h:62
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Representation of an element.
Definition: Element.h:54
Map< UInt, const Element * > atomic_numbers_
Definition: ElementDB.h:149
Map< String, const Element * > names_
Definition: ElementDB.h:145
Stores elements.
Definition: ElementDB.h:70
Map class based on the STL map (containing several convenience functions)
Definition: Map.h:51