00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MS_PEPTIDE_QUANT_RATIO_HPP
00019 #define MS_PEPTIDE_QUANT_RATIO_HPP
00020
00021
00022
00023 #include <string>
00024 #include <vector>
00025
00026 namespace matrix_science {
00027 class ms_peptide_quant_key;
00028
00034
00035
00060 class MS_MASCOTRESFILE_API ms_peptide_quant_ratio
00061 {
00062 public:
00064 ms_peptide_quant_ratio(const ms_peptide_quant_key &key, const std::string &ratioName, bool isInfinite = false);
00065
00067 ms_peptide_quant_ratio(const ms_peptide_quant_key &key, const std::string &ratioName, double value, bool isExcluded = false, double weight = 1.0);
00068
00070 ms_peptide_quant_ratio(const ms_peptide_quant_ratio& src);
00071
00073 ~ms_peptide_quant_ratio();
00074
00075 #ifndef SWIG
00076
00077 ms_peptide_quant_ratio& operator=(const ms_peptide_quant_ratio& right);
00078 #endif
00079
00080 void copyFrom(const ms_peptide_quant_ratio *src);
00081
00083 bool isMissing() const;
00084
00086 bool isInfinite() const;
00087
00089 double getValue() const;
00090
00092 ms_peptide_quant_key getKey() const;
00093
00095 std::string getRatioName() const;
00096
00098 bool isExcluded() const;
00099
00101 double getWeight() const;
00102
00103 private:
00104 bool isMissing_;
00105 bool isInfinite_;
00106 double value_;
00107
00108 ms_peptide_quant_key *peptideQuantKey_;
00109 std::string ratioName_;
00110
00111 bool isExcluded_;
00112 double weight_;
00113 };
00115 }
00116
00117 #endif // MS_PEPTIDE_QUANT_RATIO_HPP
00118
00119