Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_moverz.hpp
1/*
2##############################################################################
3# file: ms_quant_moverz.hpp #
4# 'msparser' toolkit #
5# Encapsulates "moverz" 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_moverz.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_MOVERZ_HPP
18#define MS_QUANT_MOVERZ_HPP
19
20
21#include <string>
22
23// forward declarations
24namespace msparser_internal {
25 class ms_quant_xmlloader;
26}
27
28namespace matrix_science {
29
30 class ms_xml_schema; // forward declaration
31
38 class MS_MASCOTRESFILE_API ms_quant_moverz: public ms_xml_IValidatable
39 {
40 friend class msparser_internal::ms_quant_xmlloader;
41
42 public:
45
48
50 virtual ~ms_quant_moverz();
51
53 void defaultValues();
54
56 void copyFrom(const ms_quant_moverz* right);
57
58#ifndef SWIG
60 ms_quant_moverz& operator=(const ms_quant_moverz& right);
61#endif
62
64 virtual std::string getSchemaType() const;
65
67 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
68
70 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
71
72
74 bool haveMonoisotopic() const;
75
77 std::string getMonoisotopic() const;
78
80 void setMonoisotopic(const char* value);
81
83 void dropMonoisotopic();
84
86 std::string getMonoisotopicSchemaType() const;
87
88
90 bool haveAverage() const;
91
93 std::string getAverage() const;
94
96 void setAverage(const char* value);
97
99 void dropAverage();
100
102 std::string getAverageSchemaType() const;
103
104 private:
105 std::string _monoisotopic;
106 bool _monoisotopic_set;
107
108 std::string _average;
109 bool _average_set;
110
111 }; // class ms_quant_moverz
112 // end of config_group
114
115} // namespace matrix_science
116
117#endif // MS_QUANT_MOVERZ_HPP
118
119/*------------------------------- End of File -------------------------------*/
120
Parameter name and value pair.
Definition: ms_quant_moverz.hpp:39