19 #ifndef OST_ENTITY_VIEW_HN
20 #define OST_ENTITY_VIEW_HN
45 namespace ost {
namespace mol {
100 operator bool()
const {
return this->IsValid(); }
109 bool IsValid()
const {
return data_.get()!=0; }
111 Real GetMass()
const;
211 int GetAtomCount()
const;
214 int GetResidueCount()
const;
217 int GetChainCount()
const;
245 const String& atom_name)
const;
258 bool IsChainIncluded(
const ChainHandle& chain)
const;
271 void AddAllInclusiveBonds();
279 int GetBondCount()
const;
299 std::pair<Real,Real> GetMinMax(
const String& prop,
331 bool HasAtoms()
const;
340 void AddAtomInternal(
const AtomView& av);
341 void RemoveAtomInternal(
const AtomView& av);
353 #endif // OST_ENTITY_VIEW_HH
std::vector< ChainView > ChainViewList
std::vector< ResidueView > ResidueViewList
boost::shared_ptr< EntityViewData > EntityViewDataPtr
boost::shared_ptr< EntityImpl > EntityImplPtr
Three dimensional vector class, using Real precision.
#define DLLEXPORT_OST_MOL
std::pair< EntityView, EntityView > EntityViewPair
std::vector< AtomView > AtomViewList
std::vector< BondHandle > BondHandleList
EntityViewVisitor interface.
bool IsValid() const
check validity of handle