Matrix Science header

ms_peptide_quant_ratio.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_peptide_quant_ratio.hpp                                           #
00004 # 'msparser' toolkit                                                         #
00005 # Peptide intensity ratio for relative quantitation                          #
00006 ##############################################################################
00007 # COPYRIGHT NOTICE                                                           #
00008 # Copyright 1998-2012 Matrix Science Limited  All Rights Reserved.           #
00009 #                                                                            #
00010 ##############################################################################
00011 #     $Author: villek@matrixscience.com $ #
00012 #       $Date: 2018-07-30 16:23:53 +0100 $ #
00013 #   $Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_2_8_1-0-gea32989045 $ #
00014 # $NoKeywords::                                                            $ #
00015 ##############################################################################
00016 */
00017 
00018 #ifndef MS_PEPTIDE_QUANT_RATIO_HPP
00019 #define MS_PEPTIDE_QUANT_RATIO_HPP
00020 
00021 
00022 // Includes from the standard template library
00023 #include <string>
00024 #include <vector>
00025 
00026 namespace matrix_science {
00027     class ms_peptide_quant_key;
00028 
00034 
00035 
00060     class MS_MASCOTRESFILE_API ms_peptide_quant_ratio
00061     {
00062         public:
00064             ms_peptide_quant_ratio(const ms_peptide_quant_key &key, const std::string &ratioName, bool isInfinite = false);
00065 
00067             ms_peptide_quant_ratio(const ms_peptide_quant_key &key, const std::string &ratioName, double value, bool isExcluded = false, double weight = 1.0);
00068 
00070             ms_peptide_quant_ratio(const ms_peptide_quant_ratio& src);
00071 
00073             ~ms_peptide_quant_ratio();
00074 
00075 #ifndef SWIG
00076 
00077             ms_peptide_quant_ratio& operator=(const ms_peptide_quant_ratio& right);
00078 #endif
00079 
00080             void copyFrom(const ms_peptide_quant_ratio *src);
00081 
00083             bool isMissing() const;
00084 
00086             bool isInfinite() const;
00087 
00089             double getValue() const;
00090 
00092             ms_peptide_quant_key getKey() const;
00093 
00095             std::string getRatioName() const;
00096 
00098             bool isExcluded() const;
00099 
00101             double getWeight() const;
00102 
00103         private:
00104             bool isMissing_;
00105             bool isInfinite_;
00106             double value_;
00107 
00108             ms_peptide_quant_key *peptideQuantKey_;
00109             std::string ratioName_;
00110 
00111             bool isExcluded_;
00112             double weight_;
00113     }; // end of quantitation_group
00115 }   // matrix_science namespace
00116 
00117 #endif // MS_PEPTIDE_QUANT_RATIO_HPP
00118 
00119 /*------------------------------- End of File -------------------------------*/

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