19#ifndef OST_ENTITY_BASE_HT
20#define OST_ENTITY_BASE_HT
27namespace ost {
namespace mol {
59 operator bool()
const {
return this->IsValid(); }
62 bool IsValid()
const {
return Impl().get()!=0; }
base class for the handler classes
base class for the implementation
const String & GetName() const
Get entity name.
const impl::EntityImplPtr & Impl() const
impl::EntityImplPtr & Impl()
void SetName(const String &ent_name)
Set entity name.
void CheckValidity() const
EntityBase(const impl::EntityImplPtr &impl)
bool IsValid() const
check validity of handle
GenericPropContainerImpl * GpImpl()
const GenericPropContainerImpl * GpImpl() const
#define DLLEXPORT_OST_MOL
boost::shared_ptr< EntityImpl > EntityImplPtr
DLLEXPORT_OST_MOL std::ostream & operator<<(std::ostream &os, const AtomBase &atom)