Matrix Science header

ms_quant_outliers.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_quant_outliers.hpp                                                #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates outliers-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_outliers.hpp,v $
00012  * @(#)$Revision: 1.8 $
00013  * @(#)$Date: 2010/09/06 16:18:57 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_QUANT_OUTLIERS_HPP
00018 #define MS_QUANT_OUTLIERS_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_xml_schema; // forward declaration
00047 
00053 
00054 
00058     class MS_MASCOTRESFILE_API ms_quant_outliers: public ms_quant_parameters
00059     {
00060         friend class msparser_internal::ms_quant_xmlloader;
00061     public:
00063         ms_quant_outliers();
00064 
00066         ms_quant_outliers(const ms_quant_outliers& src);
00067 
00069         virtual ~ms_quant_outliers();
00070 
00072         void defaultValues();
00073 
00075         void copyFrom(const ms_quant_outliers* right);
00076 
00077 #ifndef SWIG
00078 
00079         ms_quant_outliers& operator=(const ms_quant_outliers& right);
00080 #endif
00081 
00082         virtual std::string getSchemaType() const;
00083 
00085         virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00086 
00088         virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00089 
00090 
00092         bool haveMethod() const;
00093 
00095         std::string getMethod() const;
00096 
00098         void setMethod(const char* value);
00099 
00101         void dropMethod();
00102 
00104         std::string getMethodSchemaType() const;
00105 
00106     private:
00107 
00108         std::string _method;
00109         bool _method_set;
00110 
00111     }; // class ms_quant_outliers
00112  // end of config_group
00114 
00115 } // namespace matrix_science
00116 
00117 #endif // MS_QUANT_OUTLIERS_HPP
00118 
00119 /*------------------------------- End of File -------------------------------*/
00120 
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:51