19 #ifndef OST_ENTITY_BASE_HT
20 #define OST_ENTITY_BASE_HT
27 namespace ost {
namespace mol {
53 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
void SetName(const String &ent_name)
Set entity name.
void CheckValidity() const
EntityBase(const impl::EntityImplPtr &impl)
impl::EntityImplPtr & Impl()
GenericPropContainerImpl * GpImpl()
const impl::EntityImplPtr & Impl() const
bool IsValid() const
check validity of handle
const GenericPropContainerImpl * GpImpl() const
const String & GetName() const
Get entity name.
#define DLLEXPORT_OST_MOL
boost::shared_ptr< EntityImpl > EntityImplPtr
DLLEXPORT_OST_MOL std::ostream & operator<<(std::ostream &os, const AtomBase &atom)