Matrix Science header

ms_quant_average.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_quant_average.hpp                                               #
00004 # 'msparser' toolkit                                                         #
00005 # Encapsulates average-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_average.hpp,v $
00012  * @(#)$Revision: 1.10 $
00013  * @(#)$Date: 2014/01/14 10:04:34 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_QUANT_AVERAGE_HPP
00018 #define MS_QUANT_AVERAGE_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 // forward declarations
00037 namespace msparser_internal {
00038     class ms_quant_xmlloader;
00039 }
00040 
00041 namespace matrix_science {
00042 
00043     class ms_xml_schema; // forward declaration
00044 
00050 
00051 
00054     class MS_MASCOTRESFILE_API ms_quant_average: public ms_quant_parameters
00055     {
00056         friend class msparser_internal::ms_quant_xmlloader;
00057     public:
00059         ms_quant_average();
00060 
00062         ms_quant_average(const ms_quant_average& src);
00063 
00065         virtual ~ms_quant_average();
00066 
00068         void defaultValues();
00069 
00071         void copyFrom(const ms_quant_average* right);
00072 
00073 #ifndef SWIG
00074 
00075         ms_quant_average& operator=(const ms_quant_average& right);
00076 #endif
00077 
00078         virtual std::string getSchemaType() const;
00079 
00081         virtual std::string validateShallow(const ms_xml_schema *pSchemaFileObj) const;
00082 
00084         virtual std::string validateDeep(const ms_xml_schema *pSchemaFileObj) const;
00085 
00086 
00088         bool haveNumPeptides() const;
00089 
00091         int getNumPeptides() const;
00092 
00094         void setNumPeptides(int value);
00095 
00097         void dropNumPeptides();
00098 
00100         std::string getNumPeptidesSchemaType() const;
00101 
00102 
00104         bool haveSelection() const;
00105 
00107         std::string getSelection() const;
00108 
00110         void setSelection(const char* value);
00111 
00113         void dropSelection();
00114 
00116         std::string getSelectionSchemaType() const;
00117 
00118 
00120         bool haveReferenceAccession() const;
00121 
00123         std::string getReferenceAccession() const;
00124 
00126         void setReferenceAccession(const char* value);
00127 
00129         void dropReferenceAccession();
00130 
00132         std::string getReferenceAccessionSchemaType() const;
00133 
00134 
00136         bool haveReferenceDatabase() const;
00137 
00139         std::string getReferenceDatabase() const;
00140 
00142         void setReferenceDatabase(const char* value);
00143 
00145         void dropReferenceDatabase();
00146 
00148         std::string getReferenceDatabaseSchemaType() const;
00149 
00150 
00152         bool haveReferenceAmount() const;
00153 
00155         std::string getReferenceAmount() const;
00156 
00158         void setReferenceAmount(const char* value);
00159 
00161         void dropReferenceAmount();
00162 
00164         std::string getReferenceAmountSchemaType() const;
00165     private:
00166 
00167         int _numPeptides;
00168         bool _numPeptides_set;
00169 
00170         std::string _selection;
00171         bool _selection_set;
00172 
00173         std::string _referenceAccession;
00174         bool _referenceAccession_set;
00175 
00176         std::string _referenceDatabase;
00177         bool _referenceDatabase_set;
00178 
00179         std::string _referenceAmount;
00180         bool _referenceAmount_set;
00181     }; // class ms_quant_average
00182  // end of config_group
00184 
00185 } // namespace matrix_science
00186 
00187 #endif // MS_QUANT_AVERAGE_HPP
00188 
00189 /*------------------------------- End of File -------------------------------*/
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:51