Go to the documentation of this file.
19 #ifndef OST_RESIDUE_BASE_HH
20 #define OST_RESIDUE_BASE_HH
35 namespace ost {
namespace mol {
83 operator bool()
const {
return this->IsValid(); }
86 bool IsValid()
const {
return Impl().get()!=0; }
89 const ResNum& GetNumber()
const;
95 const String& GetName()
const;
99 String GetQualifiedName()
const;
117 bool IsPeptideLinking()
const;
120 bool IsNucleotideLinking()
const;
157 char GetOneLetterCode()
const;
159 void SetOneLetterCode(
char olc);
168 int GetIntProperty(
Prop::ID prop_id)
const;
171 bool IsProtein()
const;
173 void SetIsProtein(
bool protein);
175 void SetIsLigand(
bool ligand);
177 bool IsLigand()
const;
186 void CheckValidity()
const;
196 #endif // OST_RESIDUE_BASE_HH