Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_neutralloss.hpp
1/*
2##############################################################################
3# file: ms_quant_neutralloss.hpp #
4# 'msparser' toolkit #
5# Encapsulates "NeutralLoss" 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_neutralloss.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_NEUTRALLOSS_HPP
18#define MS_QUANT_NEUTRALLOSS_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_neutralloss: public ms_quant_composition
37 {
38 friend class msparser_internal::ms_quant_xmlloader;
39 public:
42
45
47 virtual ~ms_quant_neutralloss();
48
50 void defaultValues();
51
53 void copyFrom(const ms_quant_neutralloss* right);
54
55#ifndef SWIG
57 ms_quant_neutralloss& operator=(const ms_quant_neutralloss& 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 haveFlag() const;
71
73 bool isFlag() const;
74
76 void setFlag(const bool flag);
77
79 void dropFlag();
80
82 std::string getFlagSchemaType() const;
83
84 private:
85
86 bool _flag;
87 bool _flag_set;
88
89 }; // class ms_quant_neutralloss
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 for the sequence ions, e.g. loss of phosphate.
Definition: ms_quant_neutralloss.hpp:37