Matrix Science header

ms_ms1quant_peptide_status.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_ms1quant_peptide_status.hpp
00004 # 'msparser' toolkit
00005 # An extracted ion chromatogram
00006 ##############################################################################
00007 # COPYRIGHT NOTICE
00008 # Copyright 1998-2014 Matrix Science Limited  All Rights Reserved.
00009 #
00010 ##############################################################################
00011  * @(#)$Source: /vol/cvsroot/parser/inc/ms_ms1quant_peptide_status.hpp,v $
00012  * @(#)$Revision: 1.5 $
00013  * @(#)$Date: 2016/07/20 08:09:10 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_MS1QUANT_PEPTIDE_STATUS_HPP
00018 #define MS_MS1QUANT_PEPTIDE_STATUS_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 // Includes from the standard template library
00037 #include <string>
00038 
00039 namespace matrix_science
00040 {
00041     //=========================================================================
00047     class ms_ms1quant_peptide_status_body;
00048     class ms_peptide;
00049 
00051 
00054     class MS_MASCOTRESFILE_API ms_ms1quant_peptide_status :   
00055         public ms_handle
00056     {
00057         public:
00059 
00062             enum peptideStatus
00063             {
00064                 PS_OK = 0,                          
00065                 PS_EXPECTGREATERTHAN = 1,           
00066                 PS_LESSTHANIDENTITY = 2,            
00067                 PS_MINCHARGE = 3,                   
00068                 PS_NOTUNIQUE = 4,                   
00069                 PS_SCORELESSHOMOLOGY = 5,           
00070                 PS_SCORELESSIDENTITY_NOHOMO = 6,    
00071                 PS_SCORELESSTHRESHOLD = 7,          
00072                 PS_EXCLUDE_LOCALDEF = 8,            
00073                 PS_EXCLUDE_MODFILE = 9,             
00074                 PS_EXCLUDE_UNMODIFIED = 10,         
00075                 PS_NOTPARTOFQUANTITATION = 11,      
00076                 PS_DUPLICATESAMEQUERY = 12,         
00077                 PS_MAX = 13                         
00078             };
00079 
00081             static std::string getXmlCode(peptideStatus code);
00082 
00084             static peptideStatus getCodeFromXml(std::string str);
00085 
00087             ms_ms1quant_peptide_status();
00088 
00090             ms_ms1quant_peptide_status(const ms_ms1quant_peptide_status_body & body);
00091 
00093             int getQuery() const;
00094 
00096             int getRank() const;
00097 
00099             std::string getComponent() const;
00100 
00102             peptideStatus getStatus() const;
00103 
00104 #ifndef SWIG
00105 
00106             ms_ms1quant_peptide_status(
00107                     int query,
00108                     int rank,
00109                     const std::string & component,
00110                     ms_ms1quant_peptide_status::peptideStatus status);
00112             ms_ms1quant_peptide_status_body * body();
00114             const ms_ms1quant_peptide_status_body * body() const;
00116             void setStatus(const peptideStatus status);
00117 #endif
00118     };
00119  // end of quantitation_group
00121     //=========================================================================
00122 
00123 } // namespace matrix_science
00124 
00125 #endif // MS_MS1QUANT_PEPTIDE_STATUS_HPP
00126 
00127 /*------------------------------- End of File -------------------------------*/
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:51