8 #ifndef IMPATOM_BOND_PAIR_CONTAINER_H
9 #define IMPATOM_BOND_PAIR_CONTAINER_H
11 #include <IMP/atom/atom_config.h>
19 #include <IMP/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);
virtual ParticleIndexPairs get_range_indexes() const =0
A shared container for Pairs.
Various general useful functions for IMP.
ParticleIndex get_particle_index() const
Returns the particle index decorated by this decorator.
A container for Singletons.
virtual ModelObjectsTemp do_get_inputs() const
void apply_generic(const PairModifier *m) const
Just use apply() in the base class.
A class to store an fixed array of same-typed values.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Contains decorators for a bond.
#define IMP_PAIR_CONTAINER_METHODS(Name)
A decorator for wrapping a particle representing a molecular bond.
A smart pointer to a ref-counted Object that is a class member.
A Modifier on ParticlePairsTemp.
Bonded get_bonded(unsigned int i) const
Get the atom i of the bond.
A shared container for Singletons.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
IMP::Vector< IMP::Pointer< ModelObject > > ModelObjects
A container that returns pairs of the endpoints of the bonds.
virtual ParticleIndexPairs get_indexes() const =0
Apply a PairScore to a Pair.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Various important functionality for implementing decorators.