#include <residue_impl.hh>
Inherits GenericPropContainerImpl.
Public Member Functions |
| ResidueImpl (const EntityImplPtr &ent, const ChainImplPtr &ch, const ResNum &num, const ResidueKey &key) |
AtomImplPtr | InsertAtom (const String &name, const geom::Vec3 &pos, const String &ele) |
AtomImplPtr | InsertAtom (const AtomImplPtr &atom) |
AtomImplPtr | InsertAltAtom (const String &name, const String &alt_group, const geom::Vec3 &pos, const String &ele) |
const ResNum & | GetNumber () const |
void | SetNumber (const ResNum &num) |
const ResidueKey & | GetKey () const |
void | SetKey (const ResidueKey &key) |
ChainImplPtr | GetChain () const |
AtomImplPtr | GetCentralAtom () const |
geom::Vec3 | GetCentralNormal () const |
char | GetOneLetterCode () const |
void | SetOneLetterCode (const char olc) |
AtomImplPtr | FindAtom (const String &aname) const |
void | Apply (EntityVisitor &v) |
int | GetAtomCount () const |
int | GetBondCount () const |
EntityImplPtr | GetEntity () const |
TorsionImplP | GetPhiTorsion () const |
TorsionImplP | GetOmegaTorsion () const |
TorsionImplP | GetPsiTorsion () const |
SecStructure | GetSecStructure () const |
void | SetSecStructure (SecStructure ss) |
const AtomImplList & | GetAtomList () const |
AtomImplList & | GetAtomList () |
Real | GetMass () const |
geom::Vec3 | GetCenterOfMass () const |
geom::Vec3 | GetCenterOfAtoms () const |
geom::AlignedCuboid | GetBounds () const |
void | DeleteAtom (const AtomImplPtr &atom) |
void | DeleteAtoms (const String &atom_name) |
void | DeleteAllAtoms () |
void | AddTorsion (const TorsionImplP &torsion) |
const TorsionImplList & | GetTorsionList () const |
bool | HasAltAtomGroup (const String &group) const |
std::vector< String > | GetAltAtomGroupNames () const |
std::vector< String > | GetAltAtomGroupNames (const AtomImplPtr &atom) const |
bool | HasAltAtoms () const |
Real | GetAverageBFactor () const |
bool | SwitchAtomPos (const String &group) |
void | AddAltAtomPos (const String &group, const AtomImplPtr &atom, const geom::Vec3 &position) |
geom::Vec3 | GetAltAtomPos (const AtomImplPtr &atom, const String &group) const |
const String & | GetCurrentAltGroupName () const |
int | GetIndex () const |
String | GetQualifiedName () const |
const String & | GetName () const |
TorsionImplList & | GetTorsionList () |
void | SetChemClass (ChemClass cc) |
ChemClass | GetChemClass () const |
TorsionImplP | FindTorsion (const String &torsion_name) const |
String | GetStringProperty (Prop::ID prop_id) const |
Real | GetFloatProperty (Prop::ID prop_id) const |
int | GetIntProperty (Prop::ID prop_id) const |
void | SetProtein (bool protein) |
bool | IsProtein () const |
bool | IsLigand () const |
void | SetIsLigand (bool flag) |
| GenericPropContainerImpl () |
| ~GenericPropContainerImpl () |
| GenericPropContainerImpl (const GenericPropContainerImpl &rhs) |
GenericPropContainerImpl & | operator= (const GenericPropContainerImpl &r) |
GenericPropValue & | GenericProp (const String &key) |
const GenericPropValue & | GenericProp (const String &key) const |
bool | HasProp (const String &key) const |
void | ClearProps () |
void | RemoveProp (const String &key) |
void | Assign (const GenericPropContainerImpl &impl) |
PropertyMap | GetPropMap () const |
std::vector< String > | GetPropList () const |
Detailed Description
Definition at line 46 of file residue_impl.hh.
Constructor & Destructor Documentation
Member Function Documentation
void DeleteAtoms |
( |
const String & |
atom_name | ) |
|
Find atom by name.
- Todo:
- make the return type a AtomImplList, since there may be several atoms with the given name.
- Returns:
- The first atom matchin the name, or an invalid AtomImplPtr if there is no such atom.
std::vector<String> GetAltAtomGroupNames |
( |
| ) |
const |
int GetAtomCount |
( |
| ) |
const |
Get number of atoms of this residue.
Real GetAverageBFactor |
( |
| ) |
const |
retrieve average temperature factor of residue.
int GetBondCount |
( |
| ) |
const |
Get number of bonds of this residue.
const String& GetCurrentAltGroupName |
( |
| ) |
const |
|
inline |
int GetIntProperty |
( |
Prop::ID |
prop_id | ) |
const |
const String& GetName |
( |
| ) |
const |
|
inline |
Get name of residue. At the moment an alias for GetKey.
Definition at line 177 of file residue_impl.hh.
const ResNum& GetNumber |
( |
| ) |
const |
|
inline |
Retrieve omega torsion between this and the previous residue.
If no omega torsion has been assigned to this residue an invalid TorsionImplP will be returned.
char GetOneLetterCode |
( |
| ) |
const |
Get phi torsion.
If no phi torsion has been assigned to this residue an invalid TorsionImplP will be returned.
Get psi torsion.
If no psi torsion has been assigned to this residue an invalid TorsionImplP will be returned.
String GetQualifiedName |
( |
| ) |
const |
Get secondary structure type. By default, the residue is in COIL conformation.
Get all torsions this residue is involved in.
Definition at line 182 of file residue_impl.hh.
bool HasAltAtomGroup |
( |
const String & |
group | ) |
const |
Test if residue has alternative atoms with a certain name.
bool HasAltAtoms |
( |
| ) |
const |
insert new residue with exactly the same parameters as atom, but no bonds
void SetIsLigand |
( |
bool |
flag | ) |
|
|
inline |
void SetNumber |
( |
const ResNum & |
num | ) |
|
|
inline |
void SetOneLetterCode |
( |
const char |
olc | ) |
|
void SetProtein |
( |
bool |
protein | ) |
|
|
inline |
Set secondary structure type.
bool SwitchAtomPos |
( |
const String & |
group | ) |
|
The documentation for this class was generated from the following file: