IMP logo

IMP::atom::Bond Class Reference
[Creating and restraining bonds]


Detailed Description

A decorator for wrapping a particle representing a molecular bond.

As with Atom, the types of bonds will eventually be run-time expandible.

See also:
Bonded

IMP::atom::get_internal_bonds()

Inheritance diagram for IMP::atom::Bond:

Inheritance graph
[legend]

Public Types


Public Member Functions

 Bond (::IMP::Particle *p)
Bonded get_bonded (unsigned int i) const
 Get the atom i of the bond.
Float get_length () const
Int get_order () const
Float get_stiffness () const
Int get_type () const
void set_length (Float t)
void set_order (Int t)
void set_stiffness (Float t)
void set_type (Int t)

Static Public Member Functions

static Bond decorate_particle (::IMP::Particle *p)
static FloatKey get_length_key ()
static bool particle_is_instance (Particle *p)
 Return true if the particle is a bond.

Static Public Attributes

 AMIDE = _IMP_atom.Bond_AMIDE
 AROMATIC = _IMP_atom.Bond_AROMATIC
 DOUBLE = _IMP_atom.Bond_DOUBLE
 HYDROGEN = _IMP_atom.Bond_HYDROGEN
 NONBIOLOGICAL = _IMP_atom.Bond_NONBIOLOGICAL
 PEPTIDE = _IMP_atom.Bond_PEPTIDE
 SALT = _IMP_atom.Bond_SALT
 SINGLE = _IMP_atom.Bond_SINGLE
 TRIPLE = _IMP_atom.Bond_TRIPLE
 UNKNOWN = _IMP_atom.Bond_UNKNOWN

Related Functions

(Note that these are not member functions.)

Bonds get_internal_bonds (Hierarchy mhd)
 Get the bonds internal to this tree.

Member Function Documentation

Bonded IMP::atom::Bond::get_bonded ( unsigned int  i  )  const

Get the atom i of the bond.

Parameters:
[in] i 0 or 1
Returns:
Bonded for the atom in question


Friends And Related Function Documentation

Bonds get_internal_bonds ( Hierarchy  mhd  )  [related]

Get the bonds internal to this tree.

See also:
Bond


The documentation for this class was generated from the following files:

Generated on Mon Mar 8 23:08:48 2010 for IMP by doxygen 1.5.8