19 #ifndef OST_BASE_CHEM_CLASS_HH
20 #define OST_BASE_CHEM_CLASS_HH
25 namespace ost {
namespace mol {
31 D_PEPTIDE_LINKING =
'D',
32 L_PEPTIDE_LINKING =
'L',
50 return cc.chem_class_ == chem_class_;
58 return (chem_class_ == PEPTIDE_LINKING ||
59 chem_class_ == D_PEPTIDE_LINKING ||
60 chem_class_ == L_PEPTIDE_LINKING);
63 return (chem_class_ == DNA_LINKING ||
64 chem_class_ == RNA_LINKING);
68 return chem_class_ == WATER;
71 operator char()
const {
76 return (chem_class_ == SACCHARIDE ||
77 chem_class_ == L_SACCHARIDE ||
78 chem_class_ == D_SACCHARIDE);
bool DLLEXPORT_OST_GEOM operator==(const Line2 &l1, const Line2 &l2)
bool operator!=(const ChemClass &cc) const
bool IsPeptideLinking() const
bool operator==(const ChemClass &cc) const
ChemClass(Type chem_class)
bool IsSaccharide() const
bool IsNucleotideLinking() const