00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MS_QUANT_NUMERATOR_HPP
00018 #define MS_QUANT_NUMERATOR_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_numerator: public ms_xml_IValidatable
00040 {
00041 friend class msparser_internal::ms_quant_xmlloader;
00042
00043 public:
00045 ms_quant_numerator();
00046
00048 ms_quant_numerator(const ms_quant_numerator& src);
00049
00051 virtual ~ms_quant_numerator();
00052
00054 void defaultValues();
00055
00057 void copyFrom(const ms_quant_numerator* right);
00058
00059 #ifndef SWIG
00060
00061 ms_quant_numerator& operator=(const ms_quant_numerator& right);
00062 #endif
00063
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 haveName() const;
00075
00077 std::string getName() const;
00078
00080 void setName(const char* value);
00081
00083 void dropName();
00084
00086 std::string getNameSchemaType() const;
00087
00088
00090 bool haveCoefficient() const;
00091
00093 std::string getCoefficient() const;
00094
00096 void setCoefficient(const char* value);
00097
00099 void dropCoefficient();
00100
00102 std::string getCoefficientSchemaType() const;
00103
00104
00106 std::string getContent() const;
00107
00109 void setContent(const char* value);
00110
00112 std::string getContentSchemaType() const;
00113
00114 private:
00115 std::string _name;
00116 bool _name_set;
00117
00118 std::string _coefficient;
00119 bool _coefficient_set;
00120
00121 std::string _value;
00122
00123 };
00124
00126
00127 }
00128
00129 #endif // MS_QUANT_NUMERATOR_HPP
00130
00131