00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MS_MS1QUANT_PEPTIDE_STATUS_HPP
00018 #define MS_MS1QUANT_PEPTIDE_STATUS_HPP
00019
00020
00021
00022 #include <string>
00023
00024 namespace matrix_science
00025 {
00026
00032 class ms_ms1quant_peptide_status_body;
00033 class ms_peptide;
00034
00036
00039 class MS_MASCOTRESFILE_API ms_ms1quant_peptide_status :
00040 public ms_handle
00041 {
00042 public:
00044
00047 enum peptideStatus
00048 {
00049 PS_OK = 0,
00050 PS_EXPECTGREATERTHAN = 1,
00051 PS_LESSTHANIDENTITY = 2,
00052 PS_MINCHARGE = 3,
00053 PS_NOTUNIQUE = 4,
00054 PS_SCORELESSHOMOLOGY = 5,
00055 PS_SCORELESSIDENTITY_NOHOMO = 6,
00056 PS_SCORELESSTHRESHOLD = 7,
00057 PS_EXCLUDE_LOCALDEF = 8,
00058 PS_EXCLUDE_MODFILE = 9,
00059 PS_EXCLUDE_UNMODIFIED = 10,
00060 PS_NOTPARTOFQUANTITATION = 11,
00061 PS_DUPLICATESAMEQUERY = 12,
00062 PS_MAX = 13
00063 };
00064
00066 static std::string getXmlCode(peptideStatus code);
00067
00069 static peptideStatus getCodeFromXml(std::string str);
00070
00072 ms_ms1quant_peptide_status();
00073
00075 ms_ms1quant_peptide_status(const ms_ms1quant_peptide_status_body & body);
00076
00078 int getQuery() const;
00079
00081 int getRank() const;
00082
00084 std::string getComponent() const;
00085
00087 peptideStatus getStatus() const;
00088
00089 #ifndef SWIG
00090
00091 ms_ms1quant_peptide_status(
00092 int query,
00093 int rank,
00094 const std::string & component,
00095 ms_ms1quant_peptide_status::peptideStatus status);
00097 ms_ms1quant_peptide_status_body * body();
00099 const ms_ms1quant_peptide_status_body * body() const;
00101 void setStatus(const peptideStatus status);
00102 #endif
00103 };
00104
00106
00107
00108 }
00109
00110 #endif // MS_MS1QUANT_PEPTIDE_STATUS_HPP
00111
00112