00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MS_QUANT_ISOTOPE_HPP
00018 #define MS_QUANT_ISOTOPE_HPP
00019
00020
00021 #include <string>
00022 #include <vector>
00023
00024
00025 namespace msparser_internal {
00026 class ms_quant_xmlloader;
00027 }
00028
00029 namespace matrix_science {
00030
00031 class ms_xml_schema;
00032
00038
00039 class MS_MASCOTRESFILE_API ms_quant_isotope: public ms_xml_IValidatable
00040 {
00041 friend class msparser_internal::ms_quant_xmlloader;
00042
00043 public:
00045 ms_quant_isotope();
00046
00048 ms_quant_isotope(const ms_quant_isotope& src);
00049
00051 virtual ~ms_quant_isotope();
00052
00054 void defaultValues();
00055
00057 void copyFrom(const ms_quant_isotope* right);
00058
00059 #ifndef SWIG
00060
00061 ms_quant_isotope& operator=(const ms_quant_isotope& right);
00062 #endif
00063
00065 virtual std::string getSchemaType() const;
00066
00068 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00069
00071 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00072
00073
00075 bool haveOld() const;
00076
00078 std::string getOld() const;
00079
00081 void setOld(const char* value);
00082
00084 void dropOld();
00085
00087 std::string getOldSchemaType() const;
00088
00089
00091 bool haveNew() const;
00092
00094 std::string getNew() const;
00095
00097 void setNew(const char* value);
00098
00100 void dropNew();
00101
00103 std::string getNewSchemaType() const;
00104
00105 private:
00106
00107 std::string _old;
00108 bool _old_set;
00109
00110 std::string _new;
00111 bool _new_set;
00112
00113 };
00114
00116
00117 }
00118
00119 #endif // MS_QUANT_ISOTOPE_HPP
00120
00121