IMP logo
Public Types | Public Member Functions | Static Public Member Functions | Related Functions
IMP::atom::Bond Class Reference

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:

List of all members.

Public Types

enum  Type {
  UNKNOWN = -1, NONBIOLOGICAL, SINGLE = 1, DOUBLE = 2,
  TRIPLE = 3, HYDROGEN, SALT, PEPTIDE,
  AMIDE, AROMATIC
}
 The types a bond can have right now. More...

Public Member Functions

 Bond (Model *m, ParticleIndex id)
 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.

Related Functions

(Note that these are not member functions.)

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

Member Enumeration Documentation

The types a bond can have right now.


Member Function Documentation

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

Get the atom i of the bond.

Parameters:
[in]i0 or 1
Returns:
Bonded for the atom in question
static bool IMP::atom::Bond::particle_is_instance ( Particle p) [static]

Return true if the particle is a bond.

Reimplemented from IMP::Decorator.


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 Fri Feb 10 2012 23:36:23 for IMP by doxygen 1.7.5.1