Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_quant_normalisation.hpp
1/*
2##############################################################################
3# file: ms_quant_normalisation.hpp #
4# 'msparser' toolkit #
5# Encapsulates normalisation-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_normalisation.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_NORMALISATION_HPP
18#define MS_QUANT_NORMALISATION_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 class ms_quant_normalisation_peptides; // forward declaration
30 class ms_quant_normalisation_proteins; // forward declaration
31
38
41 class MS_MASCOTRESFILE_API ms_quant_normalisation: public ms_quant_parameters
42 {
43 friend class msparser_internal::ms_quant_xmlloader;
44
45 public:
48
51
54
56 void defaultValues();
57
59 void copyFrom(const ms_quant_normalisation* right);
60
61#ifndef SWIG
63 ms_quant_normalisation& operator=(const ms_quant_normalisation& right);
64#endif
66 virtual std::string getSchemaType() const;
67
69 virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
70
72 virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
73
74
76 bool haveMethod() const;
77
79 std::string getMethod() const;
80
82 void setMethod(const char* value);
83
85 void dropMethod();
86
88 std::string getMethodSchemaType() const;
89
90
92 bool havePeptides() const;
93
95 const ms_quant_normalisation_peptides* getPeptides() const;
96
98 void setPeptides(const ms_quant_normalisation_peptides* peptides);
99
101 void dropPeptides();
102
104 std::string getPeptidesSchemaType() const;
105
106
108 bool haveProteins() const;
109
111 const ms_quant_normalisation_proteins* getProteins() const;
112
114 void setProteins(const ms_quant_normalisation_proteins* proteins);
115
117 void dropProteins();
118
120 std::string getProteinsSchemaType() const;
121
122 private:
123
124 std::string _method;
125 bool _method_set;
126
128 bool _peptides_set;
129
131 bool _proteins_set;
132 }; // class ms_quant_normalisation
133 // end of config_group
135
136} // namespace matrix_science
137
138#endif // MS_QUANT_NORMALISATION_HPP
139
140/*------------------------------- End of File -------------------------------*/
141
An object of this class represent a collection of peptide elements in quantitation....
Definition: ms_quant_normalisation_peptide.hpp:100
An object of this class represent a collection of peptide elements in quantitation....
Definition: ms_quant_normalisation_protein.hpp:100
An object of this class represent a single normalisation element in quantitation.xml.
Definition: ms_quant_normalisation.hpp:42
A class that represents base parametersType in quantitation.xml.
Definition: ms_quant_parameters.hpp:82