17#ifndef MS_QUANT_COMPOSITION_HPP
18#define MS_QUANT_COMPOSITION_HPP
25namespace msparser_internal {
26 class ms_quant_xmlloader;
29namespace matrix_science {
41 friend class msparser_internal::ms_quant_xmlloader;
65 virtual std::string getSchemaType()
const;
68 virtual std::string validateShallow(
const ms_xml_schema *pSchemaFileObj)
const;
71 virtual std::string validateDeep(
const ms_xml_schema *pSchemaFileObj)
const;
75 bool haveSymbol()
const;
78 std::string getSymbol()
const;
81 void setSymbol(
const char* symbol);
87 std::string getSymbolSchemaType()
const;
91 bool haveNumber()
const;
94 int getNumber()
const;
97 void setNumber(
const int number);
103 std::string getNumberSchemaType()
const;
121 friend class msparser_internal::ms_quant_xmlloader;
133 void defaultValues();
143 virtual std::string getSchemaType()
const;
146 virtual std::string validateShallow(
const ms_xml_schema *pSchemaFileObj)
const;
149 virtual std::string validateDeep(
const ms_xml_schema *pSchemaFileObj)
const;
153 int getNumberOfElements()
const;
156 void clearElements();
168 bool deleteElement(
const int idx);
171 std::string getElementSchemaType()
const;
174 typedef std::vector< ms_quant_element* > element_vector;
175 element_vector _elements;
Describes the compositionType type in quantitation.xml.
Definition: ms_quant_composition.hpp:120
The element sub-element of compositionType in quantitation.xml.
Definition: ms_quant_composition.hpp:40