Matrix Science header

ms_linker_site.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_linker_site.hpp                                                   #
00004 # 'msparser' toolkit                                                         #
00005 # Linker site used in ms_peptide                                             #
00006 ##############################################################################
00007 # COPYRIGHT NOTICE                                                           #
00008 # Copyright 1998-2018 Matrix Science Limited  All Rights Reserved.           #
00009 #                                                                            #
00010 ##############################################################################
00011 #     $Author: villek@matrixscience.com $ #
00012 #       $Date: 2020-01-23 19:01:43 +0000 $ #
00013 #   $Revision: #
00014 # $NoKeywords::                                                            $ #
00015 ##############################################################################
00016 */
00017 
00018 #ifndef MS_LINKERSITE_HPP
00019 #define MS_LINKERSITE_HPP
00020 
00021 
00022 // Includes from the standard template library
00023 #include <string>
00024 
00025 namespace matrix_science {
00026     class ms_peptide;
00027     
00033 
00034 
00042     class MS_MASCOTRESFILE_API ms_linker_site
00043     {
00044         public:
00046             ms_linker_site();
00047 
00049             ms_linker_site(ms_peptide::PSM linkFrom,
00050                            ms_peptide::PSM linkTo,
00051                            int siteFrom,
00052                            int siteTo,
00053                            int varModIdxFrom,
00054                            int varModIdxTo,
00055                            double linkerMass);
00056 
00058             ms_linker_site(const ms_linker_site& src);
00059 
00061             ~ms_linker_site();
00062 
00063 #ifndef SWIG
00064 
00065             ms_linker_site& operator=(const ms_linker_site& right);
00066 
00067             bool operator<(const ms_linker_site &right) const;
00068 #endif
00069 
00071             void copyFrom(const ms_linker_site *right);
00072 
00074             int getSiteFrom() const;
00075             
00077             int getSiteTo() const;
00078             
00080             int getVarModIdxFrom() const;
00081 
00083             int getVarModIdxTo() const;
00084 
00086             ms_peptide::PSM getLinkFrom() const;
00087             
00089             ms_peptide::PSM getLinkTo() const;
00090             
00092             double getLinkerMass() const;
00093 
00094         private:
00095             ms_peptide::PSM linkFrom_, linkTo_;
00096             int siteFrom_, siteTo_;
00097             int varModIdxFrom_, varModIdxTo_;
00098             double linkerMr_;
00099     }; // end of resfile_group
00101 }   // matrix_science namespace
00102 
00103 #endif // MS_LINKERSITE_HPP
00104 
00105 /*------------------------------- End of File -------------------------------*/

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