IMP Reference Guide
2.15.0
The Integrative Modeling Platform
|
A decorator for a particle which has bonds. More...
#include <IMP/atom/bond_decorators.h>
A decorator for a particle which has bonds.
Definition at line 89 of file bond_decorators.h.
Public Member Functions | |
Bonded (::IMP::Model *m,::IMP::ParticleIndex id) | |
Bonded (const IMP::ParticleAdaptor &d) | |
Bond | get_bond (unsigned int i) const |
Get a Bond of the ith bond. More... | |
ParticleIndexes | get_bond_indexes () const |
Bonded | get_bonded (unsigned int i) const |
Get a Bonded of the ith bonded particle. More... | |
unsigned int | get_number_of_bonds () const |
void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::Decorator | |
bool | get_is_valid () const |
Returns true if constructed with a non-default constructor. More... | |
Model * | get_model () const |
Returns the Model containing the particle. More... | |
Particle * | get_particle () const |
Returns the particle decorated by this decorator. More... | |
ParticleIndex | get_particle_index () const |
Returns the particle index decorated by this decorator. More... | |
operator Particle * () const | |
operator ParticleIndex () const | |
Particle * | operator-> () const |
Static Public Member Functions | |
static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
static bool | get_is_setup (Model *m, ParticleIndex pi) |
static Bonded | setup_particle (IMP::ParticleAdaptor decorator) |
static Bonded | setup_particle (Model *m, ParticleIndex pi) |
Iterate through the bonds | |
BondIterator | bonds_begin () const |
BondIterator | bonds_end () const |
Iterate through the bondeds | |
BondedIterator | bondeds_begin () const |
BondedIterator | bondeds_end () const |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Decorator | |
Decorator (Model *m, ParticleIndex pi) | |
Decorator (ParticleAdaptor p) | |
Bond IMP::atom::Bonded::get_bond | ( | unsigned int | i | ) | const |
Get a Bond of the ith bond.
Definition at line 134 of file bond_decorators.h.
Bonded IMP::atom::Bonded::get_bonded | ( | unsigned int | i | ) | const |
Get a Bonded of the ith bonded particle.
Definition at line 150 of file bond_decorators.h.
|
static |
Setup the particle so it can be used with this decorator.
Definition at line 113 of file bond_decorators.h.