Matrix Science header

ms_quant_satellite.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_quant_satellite.hpp                                               #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates satellite-element from "quantitation.xml"-file                #
00006 ##############################################################################
00007 # COPYRIGHT NOTICE                                                           #
00008 # Copyright 1998-2009 Matrix Science Limited  All Rights Reserved.           #
00009 #                                                                            #
00010 ##############################################################################
00011  * @(#)$Source: /vol/cvsroot/parser/inc/ms_quant_satellite.hpp,v $
00012  * @(#)$Revision: 1.5 $
00013  * @(#)$Date: 2010/09/06 16:18:57 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_QUANT_SATELLITE_HPP
00018 #define MS_QUANT_SATELLITE_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 #include <vector>
00038 
00039 // forward declarations
00040 namespace msparser_internal {
00041     class ms_quant_xmlloader;
00042 }
00043 
00044 namespace matrix_science {
00045 
00046     class ms_quant_modgroup; // forward declaration
00047     class ms_xml_schema; // forward declaration
00048 
00054 
00055 
00059     class MS_MASCOTRESFILE_API ms_quant_satellite: public ms_xml_IValidatable
00060     {
00061         friend class msparser_internal::ms_quant_xmlloader;
00062 
00063     public:
00065         ms_quant_satellite();
00066 
00068         ms_quant_satellite(const ms_quant_satellite& src);
00069 
00071         virtual ~ms_quant_satellite();
00072 
00074         void defaultValues();
00075 
00077         void copyFrom(const ms_quant_satellite* right);
00078 
00079 #ifndef SWIG
00080 
00081         ms_quant_satellite& operator=(const ms_quant_satellite& right);
00082 #endif
00083 
00084         virtual std::string getSchemaType() const;
00085 
00087         virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00088 
00090         virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00091 
00092 
00094         bool haveModifications() const;
00095 
00097         const ms_quant_modgroup* getModifications() const;
00098 
00100         void setModifications(const ms_quant_modgroup* moverz);
00101 
00103         void dropModifications();
00104 
00106         std::string getModificationsSchemaType() const;
00107 
00108     private:
00109 
00110         ms_quant_modgroup *_pModifications;
00111         bool _modifications_set;
00112     }; // class ms_quant_satellite
00113  // end of config_group
00115 
00116 } // namespace matrix_science
00117 
00118 #endif // MS_QUANT_SATELLITE_HPP
00119 
00120 /*------------------------------- End of File -------------------------------*/
00121 
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:51