19 #ifndef OST_RESIDUE_VIEW_HH
20 #define OST_RESIDUE_VIEW_HH
31 namespace ost {
namespace mol {
59 operator bool()
const {
return this->IsValid(); }
68 bool IsValid()
const {
return data_.get()!=0; }
125 bool IsAtomIncluded(
const AtomHandle& handle)
const;
143 int GetAtomCount()
const;
155 int GetIndex()
const;
160 double GetMass()
const;
186 bool HasAtoms()
const;
190 void SetIndex(
int index);
198 #endif // OST_RESIDUE_VIEW_HH
bool IsValid() const
check validity of handle
ResidueViewDataPtr & ViewData()
Get internal view data.
const ResidueViewDataPtr & ViewData() const
Get internal view data.
boost::shared_ptr< ResidueImpl > ResidueImplPtr
bool DLLEXPORT_OST_GEOM operator==(const Line2 &l1, const Line2 &l2)
DLLEXPORT_OST_IMG_BASE bool operator!=(const ImageHandle &lhs, const ConstImageHandle &rhs)
void RemoveAtoms(ost::mol::EntityHandle &ent, ost::conop::CompoundLibPtr lib, bool rm_unk_atoms, bool rm_non_std, bool rm_hyd_atoms, bool rm_oxt_atoms, bool rm_zero_occ_atoms, bool colored=true)
Three dimensional vector class, using Real precision.
#define DLLEXPORT_OST_MOL
std::vector< AtomView > AtomViewList
EntityViewVisitor interface.
boost::shared_ptr< ResidueViewData > ResidueViewDataPtr
base class for ResidueHandle and ResidueView