17#ifndef MS_UMOD_COMPOSITION_HPP
18#define MS_UMOD_COMPOSITION_HPP
25namespace msparser_internal {
26 class ms_umod_xmlloader;
29namespace matrix_science {
31 class ms_umod_elemref;
32 class ms_quant_composition;
33 class ms_quant_component;
34 class ms_umod_configfile;
49 friend class msparser_internal::ms_umod_xmlloader;
82 virtual std::string getSchemaType()
const;
85 virtual std::string validateShallow(
const ms_xml_schema *pSchemaFileObj)
const;
88 virtual std::string validateDeep(
const ms_xml_schema *pSchemaFileObj)
const;
92 int getNumberOfElemRefs()
const;
107 bool deleteElemRef(
const int idx);
110 std::string getElemRefSchemaType()
const;
114 bool haveCompositionString()
const;
117 std::string getCompositionString()
const;
120 void setCompositionString(
const char* value);
123 void dropCompositionString();
126 std::string getCompositionStringSchemaType()
const;
130 bool haveAvgeMass()
const;
133 double getAvgeMass()
const;
136 void setAvgeMass(
const double value);
142 std::string getAvgeMassSchemaType()
const;
146 bool haveMonoMass()
const;
149 double getMonoMass()
const;
152 void setMonoMass(
const double value);
158 std::string getMonoMassSchemaType()
const;
165 typedef std::vector< ms_umod_elemref* > elemref_vector;
166 elemref_vector _elemRefs;
168 std::string _composition;
169 bool _composition_set;
An object of this class represent a single component element in quantitation.xml.
Definition: ms_quant_component.hpp:48
Describes the compositionType type in quantitation.xml.
Definition: ms_quant_composition.hpp:120
Represents the composition type in unimod.xml.
Definition: ms_umod_composition.hpp:48
This class represents the file unimod.xml.
Definition: ms_umod_configfile.hpp:54
Represents the elemref_t type in unimod.xml.
Definition: ms_umod_elemref.hpp:45