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 71 double average_weight,
82 void setAtomicNumber(
UInt atomic_number);
86 UInt getAtomicNumber()
const;
89 void setAverageWeight(
double weight);
92 double getAverageWeight()
const;
95 void setMonoWeight(
double weight);
98 double getMonoWeight()
const;
107 void setName(
const String & name);
110 const String & getName()
const;
113 void setSymbol(
const String & symbol);
116 const String & getSymbol()
const;
140 friend OPENMS_DLLAPI std::ostream &
operator<<(std::ostream & os,
const Element & element);
IsotopeDistribution isotopes_
distribution of the isotopes
Definition: Element.h:160
UInt atomic_number_
atomic number of the element
Definition: Element.h:151
A more convenient string class.
Definition: String.h:57
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Definition: IsotopeDistribution.h:72
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:154
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
bool operator<(const MultiplexDeltaMasses &dm1, const MultiplexDeltaMasses &dm2)
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:157
String symbol_
symbol of the element
Definition: Element.h:148
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:145