17#ifndef MS_UMOD_ELEMENT_HPP
18#define MS_UMOD_ELEMENT_HPP
25namespace msparser_internal {
26 class ms_umod_xmlloader;
29namespace matrix_science {
41 friend class msparser_internal::ms_umod_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 bool haveTitle()
const;
78 std::string getTitle()
const;
81 void setTitle(
const char* value);
87 std::string getTitleSchemaType()
const;
91 bool haveFullName()
const;
94 std::string getFullName()
const;
97 void setFullName(
const char* value);
103 std::string getFullNameSchemaType()
const;
107 bool haveAvgeMass()
const;
110 std::string getAvgeMass()
const;
113 double getAvgeMassAsNumber()
const;
116 bool setAvgeMass(
const char* value,
ms_errs* err = NULL);
122 std::string getAvgeMassSchemaType()
const;
126 bool haveMonoMass()
const;
129 std::string getMonoMass()
const;
132 double getMonoMassAsNumber()
const;
135 bool setMonoMass(
const char* value,
ms_errs* err = NULL);
141 std::string getMonoMassSchemaType()
const;
147 std::string _fullName;
150 std::string _avgeMass;
151 double _avgeMassDouble;
154 std::string _monoMass;
155 double _monoMassDouble;
All errors are collected in an instance of this class.
Definition: ms_errors.hpp:37
This class represents the file unimod.xml.
Definition: ms_umod_configfile.hpp:54
Represents an element object in unimod.xml.
Definition: ms_umod_element.hpp:40