Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_unmodified.hpp
1/*
2##############################################################################
3# file: ms_quant_unmodified.hpp #
4# 'msparser' toolkit #
5# Encapsulates "unmodified" 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_unmodified.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_UNMODIFIED_HPP
18#define MS_QUANT_UNMODIFIED_HPP
19
20
21#include <string>
22#include <vector>
23
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_unmodified: public ms_xml_IValidatable
39 {
40 friend class msparser_internal::ms_quant_xmlloader;
41 public:
44
47
49 virtual ~ms_quant_unmodified();
50
52 void defaultValues();
53
55 void copyFrom(const ms_quant_unmodified* right);
56
57#ifndef SWIG
59 ms_quant_unmodified& operator=(const ms_quant_unmodified& right);
60#endif
62 virtual std::string getSchemaType() const;
63
65 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
66
68 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
69
70
72 std::string getContent() const;
73
75 void setContent(const char* value);
76
78 std::string getContentSchemaType() const;
79
80
82 bool haveSite() const;
83
85 std::string getSite() const;
86
88 void setSite(const char* site);
89
91 void dropSite();
92
94 std::string getSiteSchemaType() const;
95
96
98 bool havePosition() const;
99
101 std::string getPosition() const;
102
104 void setPosition(const char* position);
105
107 void dropPosition();
108
110 std::string getPositionSchemaType() const;
111
112
113 private:
114 std::string _content;
115
116 std::string _site;
117 bool _site_set;
118
119 std::string _position;
120 bool _position_set;
121
122 }; // class ms_quant_unmodified
123 // end of config_group
125
126} // namespace matrix_science
127
128#endif // MS_QUANT_UNMODIFIED_HPP
129
130/*------------------------------- End of File -------------------------------*/
Describes an unmodified element in quantitation.xml.
Definition: ms_quant_unmodified.hpp:39