Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_isotope.hpp
1/*
2##############################################################################
3# file: ms_quant_isotope.hpp #
4# 'msparser' toolkit #
5# Encapsulates \c isotope 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_isotope.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_ISOTOPE_HPP
18#define MS_QUANT_ISOTOPE_HPP
19
20
21#include <string>
22#include <vector>
23
24// forward declarations
25namespace msparser_internal {
26 class ms_quant_xmlloader;
27}
28
29namespace matrix_science {
30
31 class ms_xml_schema; // forward declaration
32
39 class MS_MASCOTRESFILE_API ms_quant_isotope: public ms_xml_IValidatable
40 {
41 friend class msparser_internal::ms_quant_xmlloader;
42
43 public:
46
49
51 virtual ~ms_quant_isotope();
52
54 void defaultValues();
55
57 void copyFrom(const ms_quant_isotope* right);
58
59#ifndef SWIG
61 ms_quant_isotope& operator=(const ms_quant_isotope& right);
62#endif
63
65 virtual std::string getSchemaType() const;
66
68 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
69
71 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
72
73
75 bool haveOld() const;
76
78 std::string getOld() const;
79
81 void setOld(const char* value);
82
84 void dropOld();
85
87 std::string getOldSchemaType() const;
88
89
91 bool haveNew() const;
92
94 std::string getNew() const;
95
97 void setNew(const char* value);
98
100 void dropNew();
101
103 std::string getNewSchemaType() const;
104
105 private:
106
107 std::string _old;
108 bool _old_set;
109
110 std::string _new;
111 bool _new_set;
112
113 }; // class ms_quant_isotope
114 // end of config_group
116
117} // namespace matrix_science
118
119#endif // MS_QUANT_ISOTOPE_HPP
120
121/*------------------------------- End of File -------------------------------*/
Represents an isotope element.
Definition: ms_quant_isotope.hpp:40