Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_pepneutralloss.hpp
1/*
2##############################################################################
3# file: ms_quant_pepneutralloss.hpp #
4# 'msparser' toolkit #
5# Encapsulates "PepNeutralLoss" 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_pepneutralloss.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_PEPNEUTRALLOSS_HPP
18#define MS_QUANT_PEPNEUTRALLOSS_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 class MS_MASCOTRESFILE_API ms_quant_pepneutralloss: public ms_quant_composition
37 {
38 friend class msparser_internal::ms_quant_xmlloader;
39 public:
42
45
48
50 void defaultValues();
51
53 void copyFrom(const ms_quant_pepneutralloss* right);
54
55#ifndef SWIG
57 ms_quant_pepneutralloss& operator=(const ms_quant_pepneutralloss& right);
58#endif
60 virtual std::string getSchemaType() const;
61
63 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
64
66 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
67
68
70 bool haveRequired() const;
71
73 bool isRequired() const;
74
76 void setRequired(const bool required);
77
79 void dropRequired();
80
82 std::string getRequiredSchemaType() const;
83
84 private:
85
86 bool _required;
87 bool _required_set;
88
89 }; // class ms_quant_pepneutralloss
90 // end of config_group
92
93} // namespace matrix_science
94
95#endif // MS_QUANT_NEUTRALLOSS_HPP
96
97/*------------------------------- End of File -------------------------------*/
Describes the compositionType type in quantitation.xml.
Definition: ms_quant_composition.hpp:120
A neutral loss from the precursor.
Definition: ms_quant_pepneutralloss.hpp:37