12 #ifndef IMPCONTAINER_TRIPLET_CONTAINER_SET_H
13 #define IMPCONTAINER_TRIPLET_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 override;
39 std::string name =
"TripletContainerSet %1%");
42 std::string name =
"TripletContainerSet %1%");
72 triplet_container, triplet_containers,
75 obj->set_was_used(
true);
94 IMPCONTAINER_END_NAMESPACE
void apply_generic(const M *m) const
apply modifier sm to all triplet containers
void apply(const TripletModifier *sm) const
Apply a TripletModifier to the contents.
void apply_moved(const TripletModifier *sm, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Apply a TripletModifier to the contents.
Temporarily set particle attributes.
A container for Triplets.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
#define IMP_IMPLEMENT(signature)
virtual ParticleIndexTriplets get_range_indexes() const =0
Macros to define containers of objects.
Class for storing model, its restraints, constraints, and particles.
Stores a set of TripletContainers.
virtual ParticleIndexTriplets get_indexes() const =0
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
A base class for modifiers of ParticleTripletsTemp.
void apply_generic_moved(const TripletModifier *m, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Just use apply_moved() in the base class.
A shared container for Triplets.
virtual ModelObjectsTemp do_get_inputs() const =0