Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_multiplex.hpp
1/*
2##############################################################################
3# file: ms_quant_multiplex.hpp #
4# 'msparser' toolkit #
5# Encapsulates normalisation-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_multiplex.hpp $
12 * @(#)$Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_3_0_0-2024-09-24-0-g93ebaeb4f4 $
13 * @(#)$Date: 2018-07-30 16:23:53 +0100 $
14##############################################################################
15 */
16
17#ifndef MS_QUANT_MULTIPLEX_HPP
18#define MS_QUANT_MULTIPLEX_HPP
19
20
21// forward declarations
22namespace msparser_internal {
23 class ms_quant_xmlloader;
24}
25
26namespace matrix_science {
27
28 class ms_xml_schema; // forward declaration
29
36
39 class MS_MASCOTRESFILE_API ms_quant_multiplex: public ms_quant_parameters
40 {
41 friend class msparser_internal::ms_quant_xmlloader;
42 public:
45
48
50 virtual ~ms_quant_multiplex();
51
53 void defaultValues();
54
56 void copyFrom(const ms_quant_multiplex* right);
57
58#ifndef SWIG
60 ms_quant_multiplex& operator=(const ms_quant_multiplex& 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 haveIonSeries() const;
74
76 void setIonSeries(const std::string ionSeries);
77
79 void dropIonSeries();
80
82 std::string getIonSeriesSchemaType() const;
83
85 int getNumberOfIonSeries() const;
86
88 void clearIonSeries();
89
91 void appendIonSeries(const std::string ionSeries);
92
94 const std::string getIonSeries(const int idx=0) const;
95
97 bool updateIonSeries(const int idx, const std::string ionSeries);
98
100 bool deleteIonSeries(const int idx);
101
103 bool haveExcludeInternalLabel() const;
104
106 bool isExcludeInternalLabel() const;
107
109 void setExcludeInternalLabel(const bool value);
110
112 void dropExcludeInternalLabel();
113
115 std::string getExcludeInternalLabelSchemaType() const;
116
117
119 bool haveIonIntensityThreshold() const;
120
122 std::string getIonIntensityThreshold() const;
123
125 void setIonIntensityThreshold(const char* value);
126
128 void dropIonIntensityThreshold();
129
131 std::string getIonIntensityThresholdSchemaType() const;
132
133
135 bool haveExcludeIsobaricFragments() const;
136
138 bool isExcludeIsobaricFragments() const;
139
141 void setExcludeIsobaricFragments(const bool value);
142
144 void dropExcludeIsobaricFragments();
145
147 std::string getExcludeIsobaricFragmentsSchemaType() const;
148
149
151 bool haveMinIonPairs() const;
152
154 int getMinIonPairs() const;
155
157 void setMinIonPairs(const int value);
158
160 void dropMinIonPairs();
161
163 std::string getMinIonPairsSchemaType() const;
164
165 private:
166
167 typedef std::vector< std::string > string_vector;
168 string_vector _ionSeries;
169
170 bool _excludeInternalLabel;
171 bool _excludeInternalLabel_set;
172
173 std::string _ionIntensityThreshold;
174 bool _ionIntensityThreshold_set;
175
176 bool _excludeIsobaricFragments;
177 bool _excludeIsobaricFragments_set;
178
179 int _minIonPairs;
180 bool _minIonPairs_set;
181 }; // class ms_quant_multiplex
182 // end of config_group
184
185} // namespace matrix_science
186
187#endif // MS_QUANT_MULTIPLEX_HPP
188
189/*------------------------------- End of File -------------------------------*/
An object of this class represent a multiplex element in quantitation.xml.
Definition: ms_quant_multiplex.hpp:40
A class that represents base parametersType in quantitation.xml.
Definition: ms_quant_parameters.hpp:82