Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_quality.hpp
1/*
2##############################################################################
3# file: ms_quant_quality.hpp #
4# 'msparser' toolkit #
5# Encapsulates quality-element from "quantitation.xml"-file #
6##############################################################################
7# COPYRIGHT NOTICE #
8# Copyright 1998-2006 Matrix Science Limited All Rights Reserved. #
9# #
10##############################################################################
11 * @(#)$Source: parser/inc/ms_quant_quality.hpp $
12 * @(#)$Revision: 23deec178247eb6704b4c85e1ed5642a21d26ed1 | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $
13 * @(#)$Date: 2021-08-10 17:22:38 +0100 $
14##############################################################################
15 */
16
17#ifndef MS_QUANT_QUALITY_HPP
18#define MS_QUANT_QUALITY_HPP
19
20
21#include <string>
22#include <vector>
23
24// forward declarations
25namespace msparser_internal {
26 class ms_quant_xmlloader;
27}
28
29namespace matrix_science {
30
31 class ms_xml_schema; // forward declaration
32
39 class MS_MASCOTRESFILE_API ms_quant_quality: public ms_quant_parameters
40 {
41 friend class msparser_internal::ms_quant_xmlloader;
42 public:
45
48
50 virtual ~ms_quant_quality();
51
53 void defaultValues();
54
56 void copyFrom(const ms_quant_quality* right);
57
58#ifndef SWIG
60 ms_quant_quality& operator=(const ms_quant_quality& right);
61#endif
63 virtual std::string getSchemaType() const;
64
66 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
67
69 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
70
71
73 bool haveMinPrecursorCharge() const;
74
76 int getMinPrecursorCharge() const;
77
79 void setMinPrecursorCharge(const int value);
80
82 void dropMinPrecursorCharge();
83
85 std::string getMinPrecursorChargeSchemaType() const;
86
87
89 bool haveIsolatedPrecursor() const;
90
92 bool isIsolatedPrecursor() const;
93
95 void setIsolatedPrecursor(const bool value);
96
98 void dropIsolatedPrecursor();
99
101 std::string getIsolatedPrecursorSchemaType() const;
102
103
105 bool haveMinimumA1() const;
106
108 std::string getMinimumA1() const;
109
111 void setMinimumA1(const char* value);
112
114 void dropMinimumA1();
115
117 std::string getMinimumA1SchemaType() const;
118
119
121 bool havePepThresholdType() const;
122
124 std::string getPepThresholdType() const;
125
127 void setPepThresholdType(const char* value);
128
130 void dropPepThresholdType();
131
133 std::string getPepThresholdTypeSchemaType() const;
134
135
137 bool havePepThresholdValue() const;
138
140 std::string getPepThresholdValue() const;
141
143 void setPepThresholdValue(const char* value);
144
146 void dropPepThresholdValue();
147
149 std::string getPepThresholdValueSchemaType() const;
150
151
153 bool haveUniquePepseq() const;
154
156 bool isUniquePepseq() const;
157
159 void setUniquePepseq(bool value);
160
162 void dropUniquePepseq();
163
165 std::string getUniquePepseqSchemaType() const;
166
167
169 bool haveIsolatedPrecursorThreshold() const;
170
172 std::string getIsolatedPrecursorThreshold() const;
173
175 void setIsolatedPrecursorThreshold(const char * value);
176
178 void dropIsolatedPrecursorThreshold();
179
181 std::string getIsolatedPrecursorThresholdSchemaType() const;
182
184 bool haveTotalIntensity() const;
185
187 bool isTotalIntensity() const;
188
190 void setTotalIntensity(bool value);
191
193 void dropTotalIntensity();
194
196 std::string getTotalIntensitySchemaType() const;
197
199 bool haveTotalIntensityThreshold() const;
200
202 std::string getTotalIntensityThreshold() const;
203
205 void setTotalIntensityThreshold(std::string value);
206
208 void dropTotalIntensityThreshold();
209
211 std::string getTotalIntensityThresholdSchemaType() const;
212 private:
213
214 int _minPrecursorCharge;
215 bool _minPrecursorCharge_set;
216
217 bool _isolatedPrecursor;
218 bool _isolatedPrecursor_set;
219
220 std::string _minimumA1;
221 bool _minimumA1_set;
222
223 std::string _pepThresholdType;
224 bool _pepThresholdType_set;
225
226 std::string _pepThresholdValue;
227 bool _pepThresholdValue_set;
228
229 bool _uniquePepseq;
230 bool _uniquePepseq_set;
231
232 std::string _isolatedPrecursorThreshold;
233 bool _isolatedPrecursorThreshold_set;
234
235 bool _totalIntensity;
236 bool _totalIntensity_set;
237
238 std::string _totalIntensityThreshold;
239 bool _totalIntensityThreshold_set;
240 }; // class ms_quant_quality
241 // end of config_group
243
244} // namespace matrix_science
245
246#endif // MS_QUANT_QUALITY_HPP
247
248/*------------------------------- End of File -------------------------------*/
249
A class that represents base parametersType in quantitation.xml.
Definition: ms_quant_parameters.hpp:82
An object of this class represent a single quality element in quantitation.xml.
Definition: ms_quant_quality.hpp:40