Go to the documentation of this file.
19 #ifndef OST_CHAIN_VIEW_HH
20 #define OST_CHAIN_VIEW_HH
34 namespace ost {
namespace mol {
56 operator bool()
const {
return this->IsValid(); }
59 bool IsValid()
const {
return data_.get()!=0; }
69 int GetResidueCount()
const;
72 int GetAtomCount()
const;
80 int GetBondCount()
const;
152 int GetResidueIndex(
const ResNum& number)
const;
161 Real GetMass()
const;
176 void RemoveResidues();
202 bool HasAtoms()
const;
209 #endif // OST_CHAIN_VIEW_HH