19 #ifndef OST_RESIDUE_BASE_HH
20 #define OST_RESIDUE_BASE_HH
35 namespace ost {
namespace mol {
75 operator bool()
const {
return this->IsValid(); }
84 bool IsValid()
const {
return Impl().get()!=0; }
87 const ResNum& GetNumber()
const;
93 const String& GetName()
const;
97 String GetQualifiedName()
const;
115 bool IsPeptideLinking()
const;
118 bool IsNucleotideLinking()
const;
155 char GetOneLetterCode()
const;
157 void SetOneLetterCode(
char olc);
166 int GetIntProperty(
Prop::ID prop_id)
const;
169 bool IsProtein()
const;
171 void SetIsProtein(
bool protein);
173 void SetIsLigand(
bool ligand);
175 bool IsLigand()
const;
184 void CheckValidity()
const;
194 #endif // OST_RESIDUE_BASE_HH
boost::shared_ptr< ResidueImpl > ResidueImplPtr
Secondary structure types as defined by DSSP. For convenience, the enum values match the characters u...
DLLEXPORT_OST_MOL std::ostream & operator<<(std::ostream &os, const AtomBase &atom)
bool IsValid() const
check validity of handle
Three dimensional vector class, using Real precision.
#define DLLEXPORT_OST_MOL
Named torsion (dihedral) angle.
base class for ResidueHandle and ResidueView
base class for the implementation
base class for the handler classes