42 #define OPENMS_CHEMISTRY_ELEMENT_NAME_DEFAULT "unknown" 43 #define OPENMS_CHEMISTRY_ELEMENT_SYMBOL_DEFAULT "??" 44 #define OPENMS_CHEMISTRY_ELEMENT_WEIGHT_DEFAULT 0.0 45 #define OPENMS_CHEMISTRY_ELEMENT_ATOMICNUMBER_DEFAULT 0 70 double average_weight,
81 void setAtomicNumber(
UInt atomic_number);
85 UInt getAtomicNumber()
const;
88 void setAverageWeight(
double weight);
91 double getAverageWeight()
const;
94 void setMonoWeight(
double weight);
97 double getMonoWeight()
const;
106 void setName(
const String & name);
109 const String & getName()
const;
112 void setSymbol(
const String & symbol);
115 const String & getSymbol()
const;
136 friend OPENMS_DLLAPI std::ostream &
operator<<(std::ostream & os,
const Element & element);
IsotopeDistribution isotopes_
distribution of the isotopes
Definition: Element.h:156
UInt atomic_number_
atomic number of the element
Definition: Element.h:147
A more convenient string class.
Definition: String.h:57
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Isotope distribution class.
Definition: IsotopeDistribution.h:61
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
double average_weight_
average weight over all isotopes
Definition: Element.h:150
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Representation of an element.
Definition: Element.h:53
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
double mono_weight_
mono isotopic weight of the most frequent isotope
Definition: Element.h:153
String symbol_
symbol of the element
Definition: Element.h:144
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
String name_
name of the element
Definition: Element.h:141