Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_reporter.hpp
1/*
2##############################################################################
3# file: ms_quant_reporter.hpp #
4# 'msparser' toolkit #
5# Encapsulates reporter-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_reporter.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_REPORTER_HPP
18#define MS_QUANT_REPORTER_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
39 class MS_MASCOTRESFILE_API ms_quant_reporter: public ms_quant_parameters
40 {
41 friend class msparser_internal::ms_quant_xmlloader;
42 public:
45
48
50 virtual ~ms_quant_reporter();
51
53 void defaultValues();
54
56 void copyFrom(const ms_quant_reporter* right);
57
58#ifndef SWIG
60 ms_quant_reporter& operator=(const ms_quant_reporter& right);
61#endif
63 virtual std::string getSchemaType() const;
64
66 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
67
69 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
70
71
73 bool haveReporterTol() const;
74
76 std::string getReporterTol() const;
77
79 void setReporterTol(const char* value);
80
82 void dropReporterTol();
83
85 std::string getReporterTolSchemaType() const;
86
87
89 bool haveReporterTolUnit() const;
90
92 std::string getReporterTolUnit() const;
93
95 void setReporterTolUnit(const char* value);
96
98 void dropReporterTolUnit();
99
101 std::string getReporterTolUnitSchemaType() const;
102 private:
103
104 std::string _reporterTol;
105 bool _reporterTol_set;
106
107 std::string _reporterTolUnit;
108 bool _reporterTolUnit_set;
109 }; // class ms_quant_reporter
110 // end of config_group
112
113} // namespace matrix_science
114
115#endif // MS_QUANT_REPORTER_HPP
116
117/*------------------------------- End of File -------------------------------*/
A class that represents base parametersType in quantitation.xml.
Definition: ms_quant_parameters.hpp:82
An object of this class represents a single reporter element in quantitation.xml.
Definition: ms_quant_reporter.hpp:40