19 #ifndef OST_BASE_CHEM_CLASS_HH
20 #define OST_BASE_CHEM_CLASS_HH
25 namespace ost {
namespace mol {
29 const static char PEPTIDE_LINKING =
'P';
30 const static char D_PEPTIDE_LINKING =
'D';
31 const static char L_PEPTIDE_LINKING =
'L';
32 const static char RNA_LINKING =
'R';
33 const static char DNA_LINKING =
'S';
34 const static char NON_POLYMER =
'N';
35 const static char L_SACCHARIDE =
'X';
36 const static char D_SACCHARIDE =
'Y';
37 const static char SACCHARIDE =
'Z';
38 const static char WATER =
'W';
39 const static char UNKNOWN =
'U';
42 const static char PeptideLinking =PEPTIDE_LINKING;
43 const static char DPeptideLinking =D_PEPTIDE_LINKING;
44 const static char LPeptideLinking =L_PEPTIDE_LINKING;
45 const static char RNALinking =RNA_LINKING;
46 const static char DNALinking =DNA_LINKING;
47 const static char NonPolymer =NON_POLYMER;
48 const static char LSaccharide =L_SACCHARIDE;
49 const static char DSaccharide =D_SACCHARIDE;
50 const static char Saccharide =SACCHARIDE;
51 const static char Water =WATER;
52 const static char Unknown =UNKNOWN;
54 : chem_class_(chem_class) {
58 : chem_class_(UNKNOWN) {
61 return cc.chem_class_==chem_class_;
79 operator char()
const {
static const char PEPTIDE_LINKING
ChemClass(char chem_class)
bool operator==(const ChemClass &cc) const
bool DLLEXPORT_OST_GEOM operator==(const Line2 &l1, const Line2 &l2)
static const char L_PEPTIDE_LINKING
static const char DNA_LINKING
bool operator!=(const ChemClass &cc) const
static const char RNA_LINKING
bool IsPeptideLinking() const
bool IsNucleotideLinking() const
static const char D_PEPTIDE_LINKING