00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MS_LINKERSITE_HPP
00019 #define MS_LINKERSITE_HPP
00020
00021
00022
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 };
00101 }
00102
00103 #endif // MS_LINKERSITE_HPP
00104
00105