Go to the documentation of this file.
19 #ifndef OST_CHAIN_BASE_HH
20 #define OST_CHAIN_BASE_HH
28 namespace ost {
namespace mol {
55 operator bool()
const {
return this->IsValid(); }
58 bool IsValid()
const {
return Impl().get()!=0; }
71 String GetDescription()
const;
81 bool IsPolymer()
const;
84 bool IsPolysaccharide()
const;
87 bool IsPolypeptide()
const;
90 bool IsPolynucleotide()
const;
100 void CheckValidity()
const;
106 const ChainBase& chain);
109 #endif // OST_CHAIN_BASE_HH