17#ifndef MS_UMOD_NEUTRALLOSS_HPP
18#define MS_UMOD_NEUTRALLOSS_HPP
25namespace msparser_internal {
26 class ms_umod_xmlloader;
29namespace matrix_science {
31 class ms_quant_neutralloss;
32 class ms_quant_pepneutralloss;
33 class ms_umod_configfile;
49 friend class msparser_internal::ms_umod_xmlloader;
84 virtual std::string getSchemaType()
const;
87 virtual std::string validateShallow(
const ms_xml_schema *pSchemaFileObj)
const;
90 virtual std::string validateDeep(
const ms_xml_schema *pSchemaFileObj)
const;
94 bool haveFlag()
const;
100 void setFlag(
const bool value);
106 std::string getFlagSchemaType()
const;
110 bool haveCode()
const;
113 std::string getCode()
const;
116 void setCode(
const char* value);
122 std::string getCodeSchemaType()
const;
126 bool havePairsWith()
const;
129 std::string getPairsWith()
const;
132 void setPairsWith(
const char* value);
135 void dropPairsWith();
138 std::string getPairsWithSchemaType()
const;
142 bool haveDescription()
const;
145 std::string getDescription()
const;
148 void setDescription(
const char* value);
151 void dropDescription();
154 std::string getDescriptionSchemaType()
const;
164 std::string _pairsWith;
167 std::string _description;
168 bool _description_set;
A neutral loss for the sequence ions, e.g. loss of phosphate.
Definition: ms_quant_neutralloss.hpp:37
A neutral loss from the precursor.
Definition: ms_quant_pepneutralloss.hpp:37
Represents the composition type in unimod.xml.
Definition: ms_umod_composition.hpp:48
This class represents the file unimod.xml.
Definition: ms_umod_configfile.hpp:54
Represents NeutralLoss and PepNeutralLoss objects in unimod.xml.
Definition: ms_umod_neutralloss.hpp:48