Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_precursor.hpp
1/*
2##############################################################################
3# file: ms_quant_precursor.hpp #
4# 'msparser' toolkit #
5# Encapsulates precursor-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_precursor.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_PRECURSOR_HPP
18#define MS_QUANT_PRECURSOR_HPP
19
20
21// forward declarations
22namespace msparser_internal {
23 class ms_quant_xmlloader;
24 class ms_quant_precursor_impl;
25 class ms_quant_configfile_impl;
26 class ms_quant_protocol_impl;
27}
28
29namespace matrix_science {
30
31 class ms_xml_schema; // forward declaration
32
39
42 class MS_MASCOTRESFILE_API ms_quant_precursor: public ms_quant_parameters
43 {
44 friend class msparser_internal::ms_quant_xmlloader;
45 friend class msparser_internal::ms_quant_configfile_impl;
46 friend class msparser_internal::ms_quant_protocol_impl;
47 public:
50
53
55 virtual ~ms_quant_precursor();
56
58 void defaultValues();
59
61 void copyFrom(const ms_quant_precursor* right);
62
63#ifndef SWIG
65 ms_quant_precursor& operator=(const ms_quant_precursor& right);
66#endif
68 virtual std::string getSchemaType() const;
69
71 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
72
74 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
75
76
78 bool haveAllowMassTimeMatch() const;
79
81 bool isAllowMassTimeMatch() const;
82
84 void setAllowMassTimeMatch(const bool value);
85
87 void dropAllowMassTimeMatch();
88
90 std::string getAllowMassTimeMatchSchemaType() const;
91
92
94 bool haveAllowElutionShift() const;
95
97 bool isAllowElutionShift() const;
98
100
105 //void setAllowElutionShift(const bool value);
106
108 void dropAllowElutionShift();
109
111 std::string getAllowElutionShiftSchemaType() const;
112
113
115 bool haveAllChargeStates() const;
116
118 bool isAllChargeStates() const;
119
121
126 //void setAllChargeStates(const bool value);
127
129 void dropAllChargeStates();
130
132 std::string getAllChargeStatesSchemaType() const;
133
134 private:
135
136 msparser_internal::ms_quant_precursor_impl * m_pImpl;
137 }; // class ms_quant_precursor
138 // end of config_group
140
141} // namespace matrix_science
142
143#endif // MS_QUANT_PRECURSOR_HPP
144
145/*------------------------------- End of File -------------------------------*/
A class that represents base parametersType in quantitation.xml.
Definition: ms_quant_parameters.hpp:82
An object of this class represent a single precursor element in quantitation.xml.
Definition: ms_quant_precursor.hpp:43