19#ifndef OST_CHAIN_BASE_HH
20#define OST_CHAIN_BASE_HH
28namespace ost {
namespace mol {
55 operator bool()
const {
return this->IsValid(); }
base class for the handler classes
base class for the implementation
base class for ChainHandle and ChainView
impl::ChainImplPtr & Impl()
bool IsPolypeptide() const
whether the chain is a polypeptide
bool IsPolymer() const
whether the chain is a polymer
const impl::ChainImplPtr & Impl() const
ChainBase(const impl::ChainImplPtr &impl)
bool IsPolynucleotide() const
whether the chain is a polynucleotide
void CheckValidity() const
String GetDescription() const
Get information about a chain.
ChainType GetType() const
Get the type of a chain.
bool IsOligosaccharide() const
whether the chain is an oligsaccharide (branched mmCIF entity)
GenericPropContainerImpl * GpImpl()
const GenericPropContainerImpl * GpImpl() const
bool IsPolysaccharide() const
whether the chain is a polysaccharide
#define DLLEXPORT_OST_MOL
boost::shared_ptr< ChainImpl > ChainImplPtr
DLLEXPORT_OST_MOL std::ostream & operator<<(std::ostream &os, const AtomBase &atom)