12 #ifndef IMPCONTAINER_PAIR_CONTAINER_SET_H
13 #define IMPCONTAINER_PAIR_CONTAINER_SET_H
15 #include <IMP/container/container_config.h>
18 #include <IMP/internal/container_helpers.h>
21 IMPCONTAINER_BEGIN_NAMESPACE
34 virtual std::size_t do_get_contents_hash()
const IMP_OVERRIDE;
39 std::string name =
"PairContainerSet %1%");
42 std::string name =
"PairContainerSet %1%");
72 pair_container, pair_containers,
73 PairContainer *, PairContainers,
75 obj->set_was_used(
true);
94 IMPCONTAINER_END_NAMESPACE
A shared container for Pairs.
Temporarily set particle attributes.
void apply_moved(const PairModifier *sm, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Apply a PairModifier to the contents.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
void apply(const PairModifier *sm) const
Apply a PairModifier to the contents.
#define IMP_IMPLEMENT(signature)
Macros to define containers of objects.
A base class for modifiers of ParticlePairsTemp.
Class for storing model, its restraints, constraints, and particles.
void apply_generic_moved(const PairModifier *m, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Just use apply_moved() in the base class.
void apply_generic(const M *m) const
apply modifier sm to all pair containers
Stores a set of PairContainers.
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
virtual ParticleIndexPairs get_indexes() const =0
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.