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: /vol/cvsroot/parser/inc/ms_quant_moverz.hpp,v $
00012  * @(#)$Revision: 1.9 $
00013  * @(#)$Date: 2010/09/06 16:18:57 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_QUANT_MOVERZ_HPP
00018 #define MS_QUANT_MOVERZ_HPP
00019 
00020 #ifdef _WIN32
00021 #pragma warning(disable:4251)   // Don't want all classes to be exported
00022 #pragma warning(disable:4786)   // Debug symbols too long
00023 #   ifndef _MATRIX_USE_STATIC_LIB
00024 #       ifdef MS_MASCOTRESFILE_EXPORTS
00025 #           define MS_MASCOTRESFILE_API __declspec(dllexport)
00026 #       else
00027 #           define MS_MASCOTRESFILE_API __declspec(dllimport)
00028 #       endif
00029 #   else
00030 #       define MS_MASCOTRESFILE_API
00031 #   endif
00032 #else
00033 #   define MS_MASCOTRESFILE_API
00034 #endif
00035 
00036 #include <string>
00037 
00038 // forward declarations
00039 namespace msparser_internal {
00040     class ms_quant_xmlloader;
00041 }
00042 
00043 namespace matrix_science {
00044 
00045     class ms_xml_schema; // forward declaration
00046 
00052 
00053     class MS_MASCOTRESFILE_API ms_quant_moverz: public ms_xml_IValidatable
00054     {
00055         friend class msparser_internal::ms_quant_xmlloader;
00056 
00057     public:
00059         ms_quant_moverz();
00060 
00062         ms_quant_moverz(const ms_quant_moverz& src);
00063 
00065         virtual ~ms_quant_moverz();
00066 
00068         void defaultValues();
00069 
00071         void copyFrom(const ms_quant_moverz* right);
00072 
00073 #ifndef SWIG
00074 
00075         ms_quant_moverz& operator=(const ms_quant_moverz& right);
00076 #endif
00077 
00079         virtual std::string getSchemaType() const;
00080 
00082         virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00083 
00085         virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00086 
00087 
00089         bool haveMonoisotopic() const;
00090 
00092         std::string getMonoisotopic() const;
00093 
00095         void setMonoisotopic(const char* value);
00096 
00098         void dropMonoisotopic();
00099 
00101         std::string getMonoisotopicSchemaType() const;
00102 
00103 
00105         bool haveAverage() const;
00106 
00108         std::string getAverage() const;
00109 
00111         void setAverage(const char* value);
00112 
00114         void dropAverage();
00115 
00117         std::string getAverageSchemaType() const;
00118 
00119     private:
00120         std::string _monoisotopic;
00121         bool _monoisotopic_set;
00122 
00123         std::string _average;
00124         bool _average_set;
00125 
00126     }; // class ms_quant_moverz
00127  // end of config_group
00129 
00130 } // namespace matrix_science
00131 
00132 #endif // MS_QUANT_MOVERZ_HPP
00133 
00134 /*------------------------------- End of File -------------------------------*/
00135 
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:51