17#ifndef MS_QUANT_COMPONENT_HPP
18#define MS_QUANT_COMPONENT_HPP
25namespace msparser_internal {
26 class ms_quant_xmlloader;
29namespace matrix_science {
31 class ms_quant_modgroup;
32 class ms_quant_moverz;
33 class ms_quant_correction;
34 class ms_quant_isotope;
35 class ms_quant_satellite;
49 friend class msparser_internal::ms_quant_xmlloader;
73 virtual std::string getSchemaType()
const;
76 virtual std::string validateShallow(
const ms_xml_schema *pSchemaFileObj)
const;
79 virtual std::string validateDeep(
const ms_xml_schema *pSchemaFileObj)
const;
83 bool haveMoverz()
const;
95 std::string getMoverzSchemaType()
const;
99 int getNumberOfModificationGroups()
const;
102 void clearModificationGroups();
114 bool updateModificationGroupByNumber(
const int idx,
const ms_quant_modgroup* modgroup);
117 bool updateModificationGroupByName(
const char *name,
const ms_quant_modgroup* modgroup);
120 bool deleteModificationGroupByNumber(
const int idx);
123 bool deleteModificationGroupByName(
const char *name);
126 std::string getModificationGroupSchemaType()
const;
130 int getNumberOfIsotopes()
const;
133 void clearIsotopes();
145 bool deleteIsotope(
const int idx);
148 std::string getIsotopeSchemaType()
const;
153 bool haveFileIndex()
const;
156 int getFileIndex()
const;
159 void setFileIndex(
const int file_index);
162 void dropFileIndex();
165 std::string getFileIndexSchemaType()
const;
168 int getNumberOfFileIndexes()
const;
171 void clearFileIndexes();
183 bool deleteFileIndex(
const int idx);
187 int getNumberOfCorrections()
const;
190 void clearCorrections();
202 bool deleteCorrection(
const int idx);
205 std::string getCorrectionSchemaType()
const;
209 bool haveName()
const;
212 std::string getName()
const;
215 void setName(
const char* value);
221 std::string getNameSchemaType()
const;
225 bool haveSatellite()
const;
234 void dropSatellite();
237 std::string getSatelliteSchemaType()
const;
244 typedef std::vector< ms_quant_modgroup* > modgroup_vector;
245 modgroup_vector _modgroups;
247 typedef std::vector< ms_quant_isotope* > isotope_vector;
248 isotope_vector _isotopes;
250 typedef std::vector< ms_quant_file_index *> file_index_vector;
251 file_index_vector _file_indexes;
253 typedef std::vector< ms_quant_correction* > correction_vector;
254 correction_vector _corrections;
An object of this class represent a single component element in quantitation.xml.
Definition: ms_quant_component.hpp:48
Represents a correction element.
Definition: ms_quant_correction.hpp:40
Represents a file_index element.
Definition: ms_quant_file_index.hpp:52
Represents an isotope element.
Definition: ms_quant_isotope.hpp:40
An object of this class represent a single modification group element in quantitation....
Definition: ms_quant_modgroup.hpp:46
Parameter name and value pair.
Definition: ms_quant_moverz.hpp:39
An object of this class represent a single satellite element in quantitation.xml.
Definition: ms_quant_satellite.hpp:45