19 #ifndef OST_ATOM_VIEW_HH
20 #define OST_ATOM_VIEW_HH
31 namespace ost {
namespace mol {
41 operator bool()
const {
return this->IsValid(); }
50 bool IsValid()
const {
return data_.get()!=0; }
74 int GetBondCount()
const;
90 long GetHashCode()
const;
101 void RemoveBondInternal(
const BondHandle& bond);
108 #endif // OST_ATOM_VIEW_HH
bool DLLEXPORT_OST_GEOM operator==(const Line2 &l1, const Line2 &l2)
DLLEXPORT_OST_IMG_BASE bool operator!=(const ImageHandle &lhs, const ConstImageHandle &rhs)
base class for AtomHandle and AtomView
#define DLLEXPORT_OST_MOL
bool IsValid() const
check validity of handle
std::vector< AtomView > AtomViewList
std::vector< BondHandle > BondHandleList
EntityViewVisitor interface.
boost::shared_ptr< AtomViewData > AtomViewDataPtr