43 #define OPENMS_CHEMISTRY_ELEMENT_NAME_DEFAULT "unknown" 44 #define OPENMS_CHEMISTRY_ELEMENT_SYMBOL_DEFAULT "??" 45 #define OPENMS_CHEMISTRY_ELEMENT_WEIGHT_DEFAULT 0.0 46 #define OPENMS_CHEMISTRY_ELEMENT_ATOMICNUMBER_DEFAULT 0 72 Element(
const std::string & name,
73 const std::string & symbol,
74 unsigned int atomic_number,
75 double average_weight,
86 void setAtomicNumber(
unsigned int atomic_number);
90 unsigned int getAtomicNumber()
const;
93 void setAverageWeight(
double weight);
96 double getAverageWeight()
const;
99 void setMonoWeight(
double weight);
102 double getMonoWeight()
const;
111 void setName(
const std::string & name);
114 const std::string & getName()
const;
117 void setSymbol(
const std::string & symbol);
120 const std::string & getSymbol()
const;
144 friend OPENMS_DLLAPI std::ostream &
operator<<(std::ostream & os,
const Element & element);
IsotopeDistribution isotopes_
distribution of the isotopes (mass and natural frequency)
Definition: Element.h:164
Definition: IsotopeDistribution.h:64
std::string name_
name of the element
Definition: Element.h:149
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
double average_weight_
average weight over all isotopes
Definition: Element.h:158
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
bool operator<(const MultiplexDeltaMasses &dm1, const MultiplexDeltaMasses &dm2)
Representation of an element.
Definition: Element.h:57
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
double mono_weight_
mono isotopic weight of the most frequent isotope
Definition: Element.h:161
unsigned int atomic_number_
atomic number of the element
Definition: Element.h:155
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
std::string symbol_
symbol of the element
Definition: Element.h:152