19 #ifndef OST_CHAIN_BASE_HH
20 #define OST_CHAIN_BASE_HH
28 namespace ost {
namespace mol {
49 operator bool()
const {
return this->IsValid(); }
71 String GetDescription()
const;
81 bool IsPolymer()
const;
84 bool IsPolysaccharide()
const;
87 bool IsOligosaccharide()
const;
90 bool IsPolypeptide()
const;
93 bool IsPolynucleotide()
const;
103 void CheckValidity()
const;
109 const ChainBase& chain);
112 #endif // OST_CHAIN_BASE_HH
base class for ChainHandle and ChainView
boost::shared_ptr< ChainImpl > ChainImplPtr
DLLEXPORT_OST_MOL std::ostream & operator<<(std::ostream &os, const AtomBase &atom)
#define DLLEXPORT_OST_MOL
impl::ChainImplPtr & Impl()
base class for the implementation
const impl::ChainImplPtr & Impl() const
base class for the handler classes