19 #ifndef OST_CHAIN_BASE_HH
20 #define OST_CHAIN_BASE_HH
28 namespace ost {
namespace mol {
49 operator bool()
const {
return this->IsValid(); }
base class for the handler classes
base class for the implementation
base class for ChainHandle and ChainView
bool IsPolypeptide() const
whether the chain is a polypeptide
bool IsPolymer() const
whether the chain is a polymer
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.
GenericPropContainerImpl * GpImpl()
bool IsOligosaccharide() const
whether the chain is an oligsaccharide (branched mmCIF entity)
impl::ChainImplPtr & Impl()
const impl::ChainImplPtr & Impl() const
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)