17#ifndef MS_QUANT_RATIO_HPP
18#define MS_QUANT_RATIO_HPP
25namespace msparser_internal {
26 class ms_quant_xmlloader;
29namespace matrix_science {
31 class ms_quant_numerator;
42 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 int getNumberOfNumerators()
const;
78 void clearNumerators();
96 bool deleteNumeratorByNumber(
const int idx);
99 bool deleteNumeratorByName(
const char *name);
102 std::string getNumeratorSchemaType()
const;
106 int getNumberOfDenominators()
const;
109 void clearDenominators();
124 bool updateDenominatorByName(
const char *name,
const ms_quant_numerator* denominator);
127 bool deleteDenominatorByNumber(
const int idx);
130 bool deleteDenominatorByName(
const char *name);
133 std::string getDenominatorSchemaType()
const;
137 bool haveName()
const;
140 std::string getName()
const;
143 void setName(
const char* value);
149 std::string getNameSchemaType()
const;
152 typedef std::vector< ms_quant_numerator* > numerator_vector;
153 numerator_vector _numerators;
155 numerator_vector _denominators;
Represent numerator_component and denominator_component elements.
Definition: ms_quant_numerator.hpp:40
Represents the ratioType type for the report_ratio element in quantitation.xml.
Definition: ms_quant_ratio.hpp:41