Matrix Science header

ms_quant_normalisation.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_quant_normalisation.hpp                                           #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates normalisation-element from "quantitation.xml"-file            #
00006 ##############################################################################
00007 # COPYRIGHT NOTICE                                                           #
00008 # Copyright 1998-2006 Matrix Science Limited  All Rights Reserved.           #
00009 #                                                                            #
00010 ##############################################################################
00011  * @(#)$Source: parser/inc/ms_quant_normalisation.hpp $
00012  * @(#)$Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_2_8_1-0-gea32989045 $
00013  * @(#)$Date: 2018-07-30 16:23:53 +0100 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_QUANT_NORMALISATION_HPP
00018 #define MS_QUANT_NORMALISATION_HPP
00019 
00020 
00021 // forward declarations
00022 namespace msparser_internal {
00023     class ms_quant_xmlloader;
00024 }
00025 
00026 namespace matrix_science {
00027 
00028     class ms_xml_schema; // forward declaration
00029     class ms_quant_normalisation_peptides; // forward declaration
00030     class ms_quant_normalisation_proteins; // forward declaration
00031 
00037 
00038 
00041     class MS_MASCOTRESFILE_API ms_quant_normalisation: public ms_quant_parameters
00042     {
00043         friend class msparser_internal::ms_quant_xmlloader;
00044 
00045     public:
00047         ms_quant_normalisation();
00048 
00050         ms_quant_normalisation(const ms_quant_normalisation& src);
00051 
00053         virtual ~ms_quant_normalisation();
00054 
00056         void defaultValues();
00057 
00059         void copyFrom(const ms_quant_normalisation* right);
00060 
00061 #ifndef SWIG
00062 
00063         ms_quant_normalisation& operator=(const ms_quant_normalisation& right);
00064 #endif
00065 
00066         virtual std::string getSchemaType() const;
00067 
00069         virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00070 
00072         virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00073 
00074 
00076         bool haveMethod() const;
00077 
00079         std::string getMethod() const;
00080 
00082         void setMethod(const char* value);
00083 
00085         void dropMethod();
00086 
00088         std::string getMethodSchemaType() const;
00089 
00090 
00092         bool havePeptides() const;
00093 
00095         const ms_quant_normalisation_peptides* getPeptides() const;
00096 
00098         void setPeptides(const ms_quant_normalisation_peptides* peptides);
00099 
00101         void dropPeptides();
00102 
00104         std::string getPeptidesSchemaType() const;
00105 
00106 
00108         bool haveProteins() const;
00109 
00111         const ms_quant_normalisation_proteins* getProteins() const;
00112 
00114         void setProteins(const ms_quant_normalisation_proteins* proteins);
00115 
00117         void dropProteins();
00118 
00120         std::string getProteinsSchemaType() const;
00121 
00122     private:
00123 
00124         std::string _method;
00125         bool _method_set;
00126 
00127         ms_quant_normalisation_peptides *_pPeptides;
00128         bool _peptides_set;
00129 
00130         ms_quant_normalisation_proteins *_pProteins;
00131         bool _proteins_set;
00132     }; // class ms_quant_normalisation
00133  // end of config_group
00135 
00136 } // namespace matrix_science
00137 
00138 #endif // MS_QUANT_NORMALISATION_HPP
00139 
00140 /*------------------------------- End of File -------------------------------*/
00141 

Copyright © 2022 Matrix Science Ltd.  All Rights Reserved. Generated on Thu Mar 31 2022 01:12:29