00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MS_QUANT_MOVERZ_HPP
00018 #define MS_QUANT_MOVERZ_HPP
00019
00020
00021 #include <string>
00022
00023
00024 namespace msparser_internal {
00025 class ms_quant_xmlloader;
00026 }
00027
00028 namespace matrix_science {
00029
00030 class ms_xml_schema;
00031
00037
00038 class MS_MASCOTRESFILE_API ms_quant_moverz: public ms_xml_IValidatable
00039 {
00040 friend class msparser_internal::ms_quant_xmlloader;
00041
00042 public:
00044 ms_quant_moverz();
00045
00047 ms_quant_moverz(const ms_quant_moverz& src);
00048
00050 virtual ~ms_quant_moverz();
00051
00053 void defaultValues();
00054
00056 void copyFrom(const ms_quant_moverz* right);
00057
00058 #ifndef SWIG
00059
00060 ms_quant_moverz& operator=(const ms_quant_moverz& right);
00061 #endif
00062
00064 virtual std::string getSchemaType() const;
00065
00067 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00068
00070 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00071
00072
00074 bool haveMonoisotopic() const;
00075
00077 std::string getMonoisotopic() const;
00078
00080 void setMonoisotopic(const char* value);
00081
00083 void dropMonoisotopic();
00084
00086 std::string getMonoisotopicSchemaType() const;
00087
00088
00090 bool haveAverage() const;
00091
00093 std::string getAverage() const;
00094
00096 void setAverage(const char* value);
00097
00099 void dropAverage();
00100
00102 std::string getAverageSchemaType() const;
00103
00104 private:
00105 std::string _monoisotopic;
00106 bool _monoisotopic_set;
00107
00108 std::string _average;
00109 bool _average_set;
00110
00111 };
00112
00114
00115 }
00116
00117 #endif // MS_QUANT_MOVERZ_HPP
00118
00119
00120