17#ifndef MS_QUANT_MODGROUP_HPP
18#define MS_QUANT_MODGROUP_HPP
25namespace msparser_internal {
26 class ms_quant_xmlloader;
29namespace matrix_science {
31 class ms_quant_unmodified;
32 class ms_quant_localdef;
47 friend class msparser_internal::ms_quant_xmlloader;
70 virtual std::string getSchemaType()
const;
73 virtual std::string validateShallow(
const ms_xml_schema *pSchemaFileObj)
const;
76 virtual std::string validateDeep(
const ms_xml_schema *pSchemaFileObj)
const;
80 int getNumberOfModFiles()
const;
86 void appendModFile(
const char* mod);
89 int findModFile(
const char* mod)
const;
92 std::string getModFile(
const int idx)
const;
95 bool deleteModFile(
const int idx);
98 std::string getModFileSchemaType()
const;
102 int getNumberOfUnmodified()
const;
105 void clearUnmodified();
117 bool deleteUnmodified(
const int idx);
120 std::string getUnmodifiedSchemaType()
const;
124 int getNumberOfLocalDefinitions()
const;
127 void clearLocalDefinitions();
139 bool deleteLocalDefinition(
const int idx);
142 std::string getLocalDefinitionSchemaType()
const;
146 bool haveName()
const;
149 std::string getName()
const;
152 void setName(
const char* value);
158 std::string getNameSchemaType()
const;
162 bool haveMode()
const;
165 std::string getMode()
const;
168 void setMode(
const char* value);
174 std::string getModeSchemaType()
const;
178 bool haveRequired()
const;
181 bool isRequired()
const;
184 void setRequired(
bool value);
190 std::string getRequiredSchemaType()
const;
194 typedef std::vector< std::string > modfile_vector;
195 modfile_vector _modFiles;
197 typedef std::vector< ms_quant_unmodified* > unmodified_vector;
198 unmodified_vector _unmodified;
200 typedef std::vector< ms_quant_localdef* > localdef_vector;
201 localdef_vector _localdefs;
Represents a local_definition element.
Definition: ms_quant_localdef.hpp:42
An object of this class represent a single modification group element in quantitation....
Definition: ms_quant_modgroup.hpp:46
Describes an unmodified element in quantitation.xml.
Definition: ms_quant_unmodified.hpp:39