IMP  2.1.1
The Integrative Modeling Platform
IMP::atom::Bond Class Reference

A decorator for wrapping a particle representing a molecular bond. More...

#include <IMP/atom/bond_decorators.h>

+ Inheritance diagram for IMP::atom::Bond:

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.
 

Public Member Functions

 Bond (::IMP::kernel::Model *m,::IMP::kernel::ParticleIndex id)
 
 Bond (const IMP::kernel::ParticleAdaptor &d)
 
Bonded get_bonded (unsigned int i) const
 Get the atom i of the bond. More...
 
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)
 
void show (std::ostream &out=std::cout) const
 
- Public Member Functions inherited from IMP::kernel::Decorator
ParticleIndex get_particle_index () const
 
Particleget_particle () const
 
Modelget_model () const
 Returns the Model containing the particle.
 
 Decorator (Particle *p)
 
 Decorator ()
 

Static Public Member Functions

static Bond decorate_particle (::IMP::kernel::Particle *p)
 
static bool get_is_setup (const IMP::kernel::ParticleAdaptor &p)
 
static bool get_is_setup (kernel::Model *m, kernel::ParticleIndex pi)
 
static FloatKey get_length_key ()
 
static bool particle_is_instance (::IMP::kernel::Particle *p)
 
static bool particle_is_instance (IMP::kernel::Model *m, IMP::kernel::ParticleIndex pi)
 
- Static Public Member Functions inherited from IMP::kernel::Decorator
static bool get_is_setup (Particle *p)
 Return true if the particle can be cast to the decorator. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::kernel::Decorator
 Decorator (kernel::Model *m, ParticleIndex pi)
 
 Decorator (ParticleAdaptor p)
 

Detailed Description

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

See Also
Bonded
IMP::atom::get_internal_bonds()

Definition at line 40 of file bond_decorators.h.

Member Function Documentation

static Bond IMP::atom::Bond::decorate_particle ( ::IMP::kernel::Particle p)
static
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Check explicitly instead.

Definition at line 44 of file bond_decorators.h.

Bonded IMP::atom::Bond::get_bonded ( unsigned int  i) const
Parameters
[in]i0 or 1
Returns
Bonded for the atom in question

Definition at line 205 of file bond_decorators.h.

static bool IMP::atom::Bond::particle_is_instance ( IMP::kernel::Model m,
IMP::kernel::ParticleIndex  pi 
)
static
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Use get_is_setup() instead.

Definition at line 44 of file bond_decorators.h.

static bool IMP::atom::Bond::particle_is_instance ( ::IMP::kernel::Particle p)
static
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Use get_is_setup() instead.

Definition at line 44 of file bond_decorators.h.


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