00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MS_QUANT_NORMALISATION_HPP
00018 #define MS_QUANT_NORMALISATION_HPP
00019
00020
00021
00022 namespace msparser_internal {
00023 class ms_quant_xmlloader;
00024 }
00025
00026 namespace matrix_science {
00027
00028 class ms_xml_schema;
00029 class ms_quant_normalisation_peptides;
00030 class ms_quant_normalisation_proteins;
00031
00037
00038
00041 class MS_MASCOTRESFILE_API ms_quant_normalisation: public ms_quant_parameters
00042 {
00043 friend class msparser_internal::ms_quant_xmlloader;
00044
00045 public:
00047 ms_quant_normalisation();
00048
00050 ms_quant_normalisation(const ms_quant_normalisation& src);
00051
00053 virtual ~ms_quant_normalisation();
00054
00056 void defaultValues();
00057
00059 void copyFrom(const ms_quant_normalisation* right);
00060
00061 #ifndef SWIG
00062
00063 ms_quant_normalisation& operator=(const ms_quant_normalisation& right);
00064 #endif
00065
00066 virtual std::string getSchemaType() const;
00067
00069 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00070
00072 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00073
00074
00076 bool haveMethod() const;
00077
00079 std::string getMethod() const;
00080
00082 void setMethod(const char* value);
00083
00085 void dropMethod();
00086
00088 std::string getMethodSchemaType() const;
00089
00090
00092 bool havePeptides() const;
00093
00095 const ms_quant_normalisation_peptides* getPeptides() const;
00096
00098 void setPeptides(const ms_quant_normalisation_peptides* peptides);
00099
00101 void dropPeptides();
00102
00104 std::string getPeptidesSchemaType() const;
00105
00106
00108 bool haveProteins() const;
00109
00111 const ms_quant_normalisation_proteins* getProteins() const;
00112
00114 void setProteins(const ms_quant_normalisation_proteins* proteins);
00115
00117 void dropProteins();
00118
00120 std::string getProteinsSchemaType() const;
00121
00122 private:
00123
00124 std::string _method;
00125 bool _method_set;
00126
00127 ms_quant_normalisation_peptides *_pPeptides;
00128 bool _peptides_set;
00129
00130 ms_quant_normalisation_proteins *_pProteins;
00131 bool _proteins_set;
00132 };
00133
00135
00136 }
00137
00138 #endif // MS_QUANT_NORMALISATION_HPP
00139
00140
00141