Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_ms1quant_peptide_status.hpp
1/*
2##############################################################################
3# file: ms_ms1quant_peptide_status.hpp
4# 'msparser' toolkit
5# An extracted ion chromatogram
6##############################################################################
7# COPYRIGHT NOTICE
8# Copyright 1998-2014 Matrix Science Limited All Rights Reserved.
9#
10##############################################################################
11 * @(#)$Source: parser/inc/ms_ms1quant_peptide_status.hpp $
12 * @(#)$Revision: 2dcc5a5c97c2ef1f6d52f0f45adbf5cbce43ce2e | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $
13 * @(#)$Date: 2022-01-10 16:56:39 +0000 $
14##############################################################################
15 */
16
17#ifndef MS_MS1QUANT_PEPTIDE_STATUS_HPP
18#define MS_MS1QUANT_PEPTIDE_STATUS_HPP
19
20
21// Includes from the standard template library
22#include <string>
23
24namespace matrix_science
25{
26 //=========================================================================
32 class ms_ms1quant_peptide_status_body;
33 class ms_peptide;
34
36
39 class MS_MASCOTRESFILE_API ms_ms1quant_peptide_status :
40 public ms_handle
41 {
42 public:
44
48 {
49 PS_OK = 0,
50 PS_EXPECTGREATERTHAN = 1,
51 PS_LESSTHANIDENTITY = 2,
52 PS_MINCHARGE = 3,
53 PS_NOTUNIQUE = 4,
54 PS_SCORELESSHOMOLOGY = 5,
55 PS_SCORELESSIDENTITY_NOHOMO = 6,
56 PS_SCORELESSTHRESHOLD = 7,
57 PS_EXCLUDE_LOCALDEF = 8,
58 PS_EXCLUDE_MODFILE = 9,
59 PS_EXCLUDE_UNMODIFIED = 10,
60 PS_NOTPARTOFQUANTITATION = 11,
61 PS_DUPLICATESAMEQUERY = 12,
62 PS_NOMATCHINTHISFRACTION = 13,
63 PS_MAX = 14
64 };
65
67 static std::string getXmlCode(peptideStatus code);
68
70 static peptideStatus getCodeFromXml(std::string str);
71
74
76 ms_ms1quant_peptide_status(const ms_ms1quant_peptide_status_body & body);
77
79 int getQuery() const;
80
82 int getRank() const;
83
85 std::string getComponent() const;
86
88 peptideStatus getStatus() const;
89
90#ifndef SWIG
93 int query,
94 int rank,
95 const std::string & component,
98 ms_ms1quant_peptide_status_body * body();
100 const ms_ms1quant_peptide_status_body * body() const;
102 void setStatus(const peptideStatus status);
103#endif
104 };
105 // end of quantitation_group
107 //=========================================================================
108
109} // namespace matrix_science
110
111#endif // MS_MS1QUANT_PEPTIDE_STATUS_HPP
112
113/*------------------------------- End of File -------------------------------*/
An individual peptide's quantitation status.
Definition: ms_ms1quant_peptide_status.hpp:41
peptideStatus
Status codes from fitting peptides.
Definition: ms_ms1quant_peptide_status.hpp:48