Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_average.hpp
1/*
2##############################################################################
3# file: ms_quant_average.hpp #
4# 'msparser' toolkit #
5# Encapsulates average-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_average.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_AVERAGE_HPP
18#define MS_QUANT_AVERAGE_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_average: public ms_quant_parameters
40 {
41 friend class msparser_internal::ms_quant_xmlloader;
42 public:
45
48
50 virtual ~ms_quant_average();
51
53 void defaultValues();
54
56 void copyFrom(const ms_quant_average* right);
57
58#ifndef SWIG
60 ms_quant_average& operator=(const ms_quant_average& 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 haveNumPeptides() const;
74
76 int getNumPeptides() const;
77
79 void setNumPeptides(int value);
80
82 void dropNumPeptides();
83
85 std::string getNumPeptidesSchemaType() const;
86
87
89 bool haveSelection() const;
90
92 std::string getSelection() const;
93
95 void setSelection(const char* value);
96
98 void dropSelection();
99
101 std::string getSelectionSchemaType() const;
102
103
105 bool haveReferenceAccession() const;
106
108 std::string getReferenceAccession() const;
109
111 void setReferenceAccession(const char* value);
112
114 void dropReferenceAccession();
115
117 std::string getReferenceAccessionSchemaType() const;
118
119
121 bool haveReferenceDatabase() const;
122
124 std::string getReferenceDatabase() const;
125
127 void setReferenceDatabase(const char* value);
128
130 void dropReferenceDatabase();
131
133 std::string getReferenceDatabaseSchemaType() const;
134
135
137 bool haveReferenceAmount() const;
138
140 std::string getReferenceAmount() const;
141
143 void setReferenceAmount(const char* value);
144
146 void dropReferenceAmount();
147
149 std::string getReferenceAmountSchemaType() const;
150 private:
151
152 int _numPeptides;
153 bool _numPeptides_set;
154
155 std::string _selection;
156 bool _selection_set;
157
158 std::string _referenceAccession;
159 bool _referenceAccession_set;
160
161 std::string _referenceDatabase;
162 bool _referenceDatabase_set;
163
164 std::string _referenceAmount;
165 bool _referenceAmount_set;
166 }; // class ms_quant_average
167 // end of config_group
169
170} // namespace matrix_science
171
172#endif // MS_QUANT_AVERAGE_HPP
173
174/*------------------------------- End of File -------------------------------*/
An object of this class represent a single "average" element in quantitation.xml.
Definition: ms_quant_average.hpp:40
A class that represents base parametersType in quantitation.xml.
Definition: ms_quant_parameters.hpp:82