17#ifndef MS_UMOD_MODBRICK_HPP
18#define MS_UMOD_MODBRICK_HPP
25namespace msparser_internal {
26 class ms_umod_xmlloader;
29namespace matrix_science {
31 class ms_umod_elemref;
42 friend class msparser_internal::ms_umod_xmlloader;
66 virtual std::string getSchemaType()
const;
69 virtual std::string validateShallow(
const ms_xml_schema *pSchemaFileObj)
const;
72 virtual std::string validateDeep(
const ms_xml_schema *pSchemaFileObj)
const;
76 int getNumberOfElemRefs()
const;
91 bool deleteElemRef(
const int idx);
94 std::string getElemRefSchemaType()
const;
98 bool haveTitle()
const;
101 std::string getTitle()
const;
104 void setTitle(
const char* value);
110 std::string getTitleSchemaType()
const;
114 bool haveFullName()
const;
117 std::string getFullName()
const;
120 void setFullName(
const char* value);
126 std::string getFullNameSchemaType()
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;
162 typedef std::vector< ms_umod_elemref* > elemref_vector;
163 elemref_vector _elemRefs;
168 std::string _fullName;
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
Represents a modification brick object in unimod.xml.
Definition: ms_umod_modbrick.hpp:41