| OpenMS 2.5.0

Classes | Functions
OpenMS::ims Namespace Reference

## Classes

class | IMSAlphabet
| Holds an indexed list of bio-chemical elements. More...
class | IMSAlphabetParser
| An abstract templatized parser to load the data that is used to initialize `Alphabet` objects. More...
class | IMSAlphabetTextParser
| Implements abstract `AlphabetParser` to read data from the plain text format. More...
class | IMSElement
| Represents a chemical atom with name and isotope distribution. More...
class | IMSIsotopeDistribution
| Represents a distribution of isotopes restricted to the first K elements. More...
class | IntegerMassDecomposer
| Implements `MassDecomposer` interface using algorithm and data structures described in paper "Efficient Mass Decomposition" S. Böcker, Z. Lipták, ACM SAC-BIO, 2004 doi:10.1145/1066677.1066715. More...
class | MassDecomposer
| An interface to handle decomposing of integer values/masses over a set of integer weights (alphabet). More...
class | RealMassDecomposer
| Handles decomposing of non-integer values/masses over a set of non-integer weights with an error allowed. More...
class | Weights
| Represents a set of weights (double values and scaled with a certain precision their integer counterparts) with a quick access. More...

## Functions

std::ostream & | operator<< (std::ostream &os, const IMSAlphabet &alphabet)
std::ostream & | operator<< (std::ostream &os, const IMSElement &element)
std::ostream & | operator<< (std::ostream &os, const IMSIsotopeDistribution &distribution)
std::ostream & | operator<< (std::ostream &os, const Weights &weights)

## Function Documentation

## ◆ operator<<() [1/4]

std::ostream& OpenMS::ims::operator<< | ( | std::ostream & | os,
|  | const Weights & | weights
| ) |  |

Prints weights to the stream `os`.

Parameters

  os | Output stream to which weights are written.
  weights | Weights to be written.

## ◆ operator<<() [2/4]

std::ostream& OpenMS::ims::operator<< | ( | std::ostream & | os,
|  | const IMSElement & | element
| ) |  |

Prints element to the stream `os`.

Parameters

  os | Output stream to which element is printed out.
  element | Element to be printed out.

## ◆ operator<<() [3/4]

std::ostream& OpenMS::ims::operator<< | ( | std::ostream & | os,
|  | const IMSAlphabet & | alphabet
| ) |  |

Prints alphabet to the stream `os`.

Parameters

  os | Output stream to which alphabet is written
  alphabet | Alphabet to be written.

## ◆ operator<<() [4/4]

std::ostream& OpenMS::ims::operator<< | ( | std::ostream & | os,
|  | const IMSIsotopeDistribution & | distribution
| ) |  |

Prints isotope distribution to the stream `os`.

Parameters

  os | Output stream to which distribution is printed out.
  distribution | Distribution to be printed out.