![]() |
OpenMS
|
One interpretation of a fragment, including its charge and attachment. More...
#include <OpenMS/CHEMISTRY/TheoreticalGlycanSpectrumGenerator.h>
Public Member Functions | |
| double | getMZ () const |
| std::string | getAnnotation () const |
| Serialize as an mzPAF named compound; throws InvalidParameter for an invalid name. | |
Public Attributes | |
| IonType | ion_type = IonType::DIAGNOSTIC |
| Composition | composition |
| double | neutral_mass = 0.0 |
| Before protonation; includes any neutral loss. | |
| Int | charge = 1 |
| std::optional< Size > | attachment_position |
| Zero-based peptide index. | |
| std::string | attachment_residue |
| std::optional< Size > | root_cleavage |
| std::vector< Size > | branch_cleavages |
| std::string | name |
| Nonempty uncharged name without whitespace, square brackets or NUL characters. | |
One interpretation of a fragment, including its charge and attachment.
| std::string getAnnotation | ( | ) | const |
Serialize as an mzPAF named compound; throws InvalidParameter for an invalid name.
| double getMZ | ( | ) | const |
| std::optional<Size> attachment_position |
Zero-based peptide index.
| std::string attachment_residue |
| std::vector<Size> branch_cleavages |
| Int charge = 1 |
| Composition composition |
| IonType ion_type = IonType::DIAGNOSTIC |
| std::string name |
Nonempty uncharged name without whitespace, square brackets or NUL characters.
| double neutral_mass = 0.0 |
Before protonation; includes any neutral loss.
| std::optional<Size> root_cleavage |