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: parser/inc/ms_ms1quant_peptide_status.hpp $
00012  * @(#)$Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_2_8_1-0-gea32989045 $
00013  * @(#)$Date: 2018-07-30 16:23:53 +0100 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_MS1QUANT_PEPTIDE_STATUS_HPP
00018 #define MS_MS1QUANT_PEPTIDE_STATUS_HPP
00019 
00020 
00021 // Includes from the standard template library
00022 #include <string>
00023 
00024 namespace matrix_science
00025 {
00026     //=========================================================================
00032     class ms_ms1quant_peptide_status_body;
00033     class ms_peptide;
00034 
00036 
00039     class MS_MASCOTRESFILE_API ms_ms1quant_peptide_status :   
00040         public ms_handle
00041     {
00042         public:
00044 
00047             enum peptideStatus
00048             {
00049                 PS_OK = 0,                          
00050                 PS_EXPECTGREATERTHAN = 1,           
00051                 PS_LESSTHANIDENTITY = 2,            
00052                 PS_MINCHARGE = 3,                   
00053                 PS_NOTUNIQUE = 4,                   
00054                 PS_SCORELESSHOMOLOGY = 5,           
00055                 PS_SCORELESSIDENTITY_NOHOMO = 6,    
00056                 PS_SCORELESSTHRESHOLD = 7,          
00057                 PS_EXCLUDE_LOCALDEF = 8,            
00058                 PS_EXCLUDE_MODFILE = 9,             
00059                 PS_EXCLUDE_UNMODIFIED = 10,         
00060                 PS_NOTPARTOFQUANTITATION = 11,      
00061                 PS_DUPLICATESAMEQUERY = 12,         
00062                 PS_MAX = 13                         
00063             };
00064 
00066             static std::string getXmlCode(peptideStatus code);
00067 
00069             static peptideStatus getCodeFromXml(std::string str);
00070 
00072             ms_ms1quant_peptide_status();
00073 
00075             ms_ms1quant_peptide_status(const ms_ms1quant_peptide_status_body & body);
00076 
00078             int getQuery() const;
00079 
00081             int getRank() const;
00082 
00084             std::string getComponent() const;
00085 
00087             peptideStatus getStatus() const;
00088 
00089 #ifndef SWIG
00090 
00091             ms_ms1quant_peptide_status(
00092                     int query,
00093                     int rank,
00094                     const std::string & component,
00095                     ms_ms1quant_peptide_status::peptideStatus status);
00097             ms_ms1quant_peptide_status_body * body();
00099             const ms_ms1quant_peptide_status_body * body() const;
00101             void setStatus(const peptideStatus status);
00102 #endif
00103     };
00104  // end of quantitation_group
00106     //=========================================================================
00107 
00108 } // namespace matrix_science
00109 
00110 #endif // MS_MS1QUANT_PEPTIDE_STATUS_HPP
00111 
00112 /*------------------------------- End of File -------------------------------*/

Copyright © 2022 Matrix Science Ltd.  All Rights Reserved. Generated on Thu Mar 31 2022 01:12:29