30 UnimodXMLHandler(std::vector<ResidueModification*>& mods,
const std::string& filename);
63 bool collect_elements_{
false};
68 double neutral_loss_mono_mass_{0.0};
69 double neutral_loss_avge_mass_{0.0};
85 std::vector<ResidueModification::TermSpecificity>
term_specs_;
Handler that is used for parsing XTandemXML data.
Definition UnimodXMLHandler.h:27
~UnimodXMLHandler() override
Destructor.
void onCharacters(const char16_t *chars, Size) override
Parsing method for character data.
std::vector< char > sites_
Definition UnimodXMLHandler.h:83
std::vector< ResidueModification * > & modifications_
Definition UnimodXMLHandler.h:81
std::vector< std::vector< double > > neutral_loss_avg_masses_all_
Definition UnimodXMLHandler.h:77
ResidueModification * modification_
Definition UnimodXMLHandler.h:79
std::vector< ResidueModification::TermSpecificity > term_specs_
Definition UnimodXMLHandler.h:85
std::vector< double > neutral_loss_mono_masses_
Definition UnimodXMLHandler.h:73
double mono_mass_
Definition UnimodXMLHandler.h:50
std::vector< std::vector< EmpiricalFormula > > neutral_loss_diff_formulas_
Definition UnimodXMLHandler.h:72
std::vector< double > neutral_loss_avg_masses_
Definition UnimodXMLHandler.h:74
std::vector< std::vector< double > > neutral_loss_mono_masses_all_
one entry per specificity, parallel to neutral_loss_diff_formulas_
Definition UnimodXMLHandler.h:76
bool was_valid_peptide_modification_
Definition UnimodXMLHandler.h:71
std::vector< EmpiricalFormula > neutral_loss_diff_formula_
Definition UnimodXMLHandler.h:65
std::string tag_
Definition UnimodXMLHandler.h:46
double avge_mass_
Definition UnimodXMLHandler.h:48
UnimodXMLHandler(std::vector< ResidueModification * > &mods, const std::string &filename)
Default constructor.
void onStartElement(const char16_t *qname, const XMLAttributes &attributes) override
Parsing method for opening tags.
void onEndElement(const char16_t *qname) override
Parsing method for closing tags.
EmpiricalFormula diff_formula_
Definition UnimodXMLHandler.h:52
Xerces-free, lightweight view over the attribute list of an XML element.
Definition XMLAttributes.h:32
Base class for XML handlers.
Definition XMLHandler.h:42
Representation of a modification on an amino acid residue.
Definition ResidueModification.h:55
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19