49 class IsotopeDistribution;
84 typedef std::map<const Element*, SignedSize>
MapType_;
121 double getMonoWeight()
const;
125 double getAverageWeight()
const;
140 bool estimateFromWeightAndComp(
double average_weight,
double C,
double H,
double N,
double O,
double S,
double P);
156 bool estimateFromWeightAndCompAndS(
double average_weight,
UInt S,
double C,
double H,
double N,
double O,
double P);
221 bool isEmpty()
const;
225 bool isCharged()
const;
228 bool hasElement(
const Element* element)
const;
255 void removeZeroedElements_();
261 SignedSize parseFormula_(std::map<const Element*, SignedSize>& ef,
const String& formula)
const;
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
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Representation of an element.
Definition: Element.h:53
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
DPosition< D, TCoordinateType > operator*(DPosition< D, TCoordinateType > position, typename DPosition< D, TCoordinateType >::CoordinateType scalar)
Scalar multiplication (a bit inefficient)
Definition: DPosition.h:420
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
String toString(T i)
toString functions (single argument)
Definition: StringUtils.h:68