Go to the documentation of this file.
19 #ifndef OST_RESIDUE_BASE_HH
20 #define OST_RESIDUE_BASE_HH
32 namespace ost {
namespace mol {
75 operator bool()
const {
return this->IsValid(); }
78 bool IsValid()
const {
return Impl().get()!=0; }
81 const ResNum& GetNumber()
const;
87 const String& GetName()
const;
91 String GetQualifiedName()
const;
95 bool IsPeptideLinking()
const;
98 bool IsNucleotideLinking()
const;
130 char GetOneLetterCode()
const;
132 void SetOneLetterCode(
char olc);
141 int GetIntProperty(
Prop::ID prop_id)
const;
144 bool IsProtein()
const;
146 void SetIsProtein(
bool protein);
148 void SetIsLigand(
bool ligand);
150 bool IsLigand()
const;
159 void CheckValidity()
const;
169 #endif // OST_RESIDUE_BASE_HH