Matrix Science header

ms_quant_moverz.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_quant_moverz.hpp                                                  #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates "moverz" 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_moverz.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_MOVERZ_HPP
00018 #define MS_QUANT_MOVERZ_HPP
00019 
00020 
00021 #include <string>
00022 
00023 // forward declarations
00024 namespace msparser_internal {
00025     class ms_quant_xmlloader;
00026 }
00027 
00028 namespace matrix_science {
00029 
00030     class ms_xml_schema; // forward declaration
00031 
00037 
00038     class MS_MASCOTRESFILE_API ms_quant_moverz: public ms_xml_IValidatable
00039     {
00040         friend class msparser_internal::ms_quant_xmlloader;
00041 
00042     public:
00044         ms_quant_moverz();
00045 
00047         ms_quant_moverz(const ms_quant_moverz& src);
00048 
00050         virtual ~ms_quant_moverz();
00051 
00053         void defaultValues();
00054 
00056         void copyFrom(const ms_quant_moverz* right);
00057 
00058 #ifndef SWIG
00059 
00060         ms_quant_moverz& operator=(const ms_quant_moverz& right);
00061 #endif
00062 
00064         virtual std::string getSchemaType() const;
00065 
00067         virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00068 
00070         virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00071 
00072 
00074         bool haveMonoisotopic() const;
00075 
00077         std::string getMonoisotopic() const;
00078 
00080         void setMonoisotopic(const char* value);
00081 
00083         void dropMonoisotopic();
00084 
00086         std::string getMonoisotopicSchemaType() const;
00087 
00088 
00090         bool haveAverage() const;
00091 
00093         std::string getAverage() const;
00094 
00096         void setAverage(const char* value);
00097 
00099         void dropAverage();
00100 
00102         std::string getAverageSchemaType() const;
00103 
00104     private:
00105         std::string _monoisotopic;
00106         bool _monoisotopic_set;
00107 
00108         std::string _average;
00109         bool _average_set;
00110 
00111     }; // class ms_quant_moverz
00112  // end of config_group
00114 
00115 } // namespace matrix_science
00116 
00117 #endif // MS_QUANT_MOVERZ_HPP
00118 
00119 /*------------------------------- End of File -------------------------------*/
00120 

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