17#ifndef MS_QUANT_SPECIFICITY_HPP
18#define MS_QUANT_SPECIFICITY_HPP
25namespace msparser_internal {
26 class ms_quant_xmlloader;
29namespace matrix_science {
31 class ms_quant_neutralloss;
32 class ms_quant_pepneutralloss;
46 friend class msparser_internal::ms_quant_xmlloader;
71 virtual std::string getSchemaType()
const;
74 virtual std::string validateShallow(
const ms_xml_schema *pSchemaFileObj)
const;
77 virtual std::string validateDeep(
const ms_xml_schema *pSchemaFileObj)
const;
81 int getNumberOfNeutralLosses()
const;
84 void clearNeutralLosses();
96 bool deleteNeutralLoss(
const int idx);
99 std::string getNeutralLossSchemaType()
const;
103 int getNumberOfPepNeutralLosses()
const;
106 void clearPepNeutralLosses();
118 bool deletePepNeutralLoss(
const int idx);
121 std::string getPepNeutralLossSchemaType()
const;
125 bool haveSite()
const;
128 std::string getSite()
const;
131 void setSite(
const char* site);
137 std::string getSiteSchemaType()
const;
141 bool havePosition()
const;
144 std::string getPosition()
const;
147 void setPosition(
const char* position);
153 std::string getPositionSchemaType()
const;
156 typedef std::vector< ms_quant_neutralloss* > neutralloss_vector;
157 neutralloss_vector _neutrallosses;
159 typedef std::vector< ms_quant_pepneutralloss* > pepneutralloss_vector;
160 pepneutralloss_vector _pepneutrallosses;
165 std::string _position;
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
Describes a specificity element in quantitation.xml (Unimod style specificity).
Definition: ms_quant_specificity.hpp:45