8 #ifndef IMPATOM_BOND_PAIR_CONTAINER_H
9 #define IMPATOM_BOND_PAIR_CONTAINER_H
11 #include <IMP/atom/atom_config.h>
19 #include <IMP/kernel/internal/container_helpers.h>
22 IMPATOM_BEGIN_NAMESPACE
33 virtual std::size_t do_get_contents_hash()
const IMP_OVERRIDE {
34 return sc_->get_contents_hash();
41 Bond bp(get_model(), pi);
ParticleIndex get_particle_index() const
Returns the particle index decorated by this decorator.
Import IMP/kernel/scoped.h in the namespace.
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
virtual kernel::ModelObjectsTemp do_get_inputs() const
IMP::base::Vector< IMP::base::Pointer< kernel::ModelObject > > ModelObjects
Import IMP/kernel/SingletonContainer.h in the namespace.
A smart pointer to a ref-counted Object that is a class member.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
#define IMP_PAIR_CONTAINER_METHODS(Name)
virtual kernel::ParticleIndexPairs get_indexes() const =0
A shared container for Pairs.
Contains decorators for a bond.
A class to store an fixed array of same-typed values.
Import IMP/kernel/PairContainer.h in the namespace.
A decorator for wrapping a particle representing a molecular bond.
Import IMP/kernel/PairScore.h in the namespace.
virtual kernel::ParticleIndexPairs get_range_indexes() const =0
Import IMP/kernel/PairModifier.h in the namespace.
Bonded get_bonded(unsigned int i) const
Get the atom i of the bond.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
void apply_generic(const PairModifier *m) const
Just use apply() in the base class.
A container that returns pairs of the endpoints of the bonds.
A shared container for Singletons.
Apply a PairScore to a Pair.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Import IMP/kernel/generic.h in the namespace.