17#ifndef MS_UMOD_AMINOACID_HPP
18#define MS_UMOD_AMINOACID_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 haveThreeLetter()
const;
117 std::string getThreeLetter()
const;
120 void setThreeLetter(
const char* value);
123 void dropThreeLetter();
126 std::string getThreeLetterSchemaType()
const;
130 bool haveFullName()
const;
133 std::string getFullName()
const;
136 void setFullName(
const char* value);
142 std::string getFullNameSchemaType()
const;
146 bool haveAvgeMass()
const;
149 double getAvgeMass()
const;
152 void setAvgeMass(
const double value);
158 std::string getAvgeMassSchemaType()
const;
162 bool haveMonoMass()
const;
165 double getMonoMass()
const;
168 void setMonoMass(
const double value);
174 std::string getMonoMassSchemaType()
const;
178 typedef std::vector< ms_umod_elemref* > elemref_vector;
179 elemref_vector _elemRefs;
184 std::string _threeLetter;
185 bool _threeLetter_set;
187 std::string _fullName;
Represents an "amino acid" object in unimod.xml.
Definition: ms_umod_aminoacid.hpp:41
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