17#ifndef MS_UMOD_SPECIFICITY_HPP
18#define MS_UMOD_SPECIFICITY_HPP
25namespace msparser_internal {
26 class ms_umod_xmlloader;
29namespace matrix_science {
31 class ms_umod_neutralloss;
32 class ms_quant_specificity;
33 class ms_umod_configfile;
44 friend class msparser_internal::ms_umod_xmlloader;
75 virtual std::string getSchemaType()
const;
78 virtual std::string validateShallow(
const ms_xml_schema *pSchemaFileObj)
const;
81 virtual std::string validateDeep(
const ms_xml_schema *pSchemaFileObj)
const;
85 int getNumberOfNeutralLosses()
const;
88 void clearNeutralLosses();
100 bool deleteNeutralLoss(
const int idx);
103 std::string getNeutralLossSchemaType()
const;
107 int getNumberOfPepNeutralLosses()
const;
110 void clearPepNeutralLosses();
122 bool deletePepNeutralLoss(
const int idx);
125 std::string getPepNeutralLossSchemaType()
const;
129 bool haveMiscNotes()
const;
132 std::string getMiscNotes()
const;
135 void setMiscNotes(
const char* value);
138 void dropMiscNotes();
141 std::string getMiscNotesSchemaType()
const;
145 bool haveHidden()
const;
148 bool isHidden()
const;
151 void setHidden(
const bool value);
157 std::string getHiddenSchemaType()
const;
161 bool haveSite()
const;
164 std::string getSite()
const;
167 void setSite(
const char* value);
173 std::string getSiteSchemaType()
const;
177 bool havePosition()
const;
180 std::string getPosition()
const;
183 void setPosition(
const char* value);
189 std::string getPositionSchemaType()
const;
193 bool haveClassification()
const;
196 std::string getClassification()
const;
199 void setClassification(
const char* value);
202 void dropClassification();
205 std::string getClassificationSchemaType()
const;
209 bool haveSpecGroup()
const;
212 int getSpecGroup()
const;
215 void setSpecGroup(
const int value);
218 void dropSpecGroup();
221 std::string getSpecGroupSchemaType()
const;
224 bool inShortList()
const;
227 void showInShortList(
bool b);
230 bool inLongList()
const;
233 void showInLongList(
bool b);
236 bool inErrorTolerant()
const;
239 void useInErrorTolerant(
bool b);
246 typedef std::vector< ms_umod_neutralloss* > nl_vector;
247 nl_vector _neutrallosses;
249 typedef std::vector< ms_umod_neutralloss* > pnl_vector;
250 pnl_vector _pepneutrallosses;
252 std::string _miscNotes;
261 std::string _position;
264 std::string _classification;
265 bool _classification_set;
271 bool _show_in_long_list;
272 bool _use_in_error_tolerant;
Describes a specificity element in quantitation.xml (Unimod style specificity).
Definition: ms_quant_specificity.hpp:45
This class represents the file unimod.xml.
Definition: ms_umod_configfile.hpp:54
Represents a modif object in unimod.xml.
Definition: ms_umod_modification.hpp:47
Represents NeutralLoss and PepNeutralLoss objects in unimod.xml.
Definition: ms_umod_neutralloss.hpp:48
Represents modification specificity objects in unimod.xml.
Definition: ms_umod_specificity.hpp:43