12 #ifndef IMPCONTAINER_SINGLETON_CONTAINER_SET_H
13 #define IMPCONTAINER_SINGLETON_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 =
"SingletonContainerSet %1%");
42 std::string name =
"SingletonContainerSet %1%");
72 singleton_container, singleton_containers,
73 SingletonContainer *, SingletonContainers,
75 obj->set_was_used(
true);
94 IMPCONTAINER_END_NAMESPACE
A base class for modifiers of ParticlesTemp.
void apply_generic(const M *m) const
apply modifier sm to all singleton containers
Temporarily set particle attributes.
virtual ParticleIndexes get_indexes() const =0
A container for Singletons.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Stores a set of SingletonContainers.
#define IMP_IMPLEMENT(signature)
Macros to define containers of objects.
Class for storing model, its restraints, constraints, and particles.
void apply_generic_moved(const SingletonModifier *m, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Just use apply_moved() in the base class.
void apply_moved(const SingletonModifier *sm, const ParticleIndexes &moved_pis, const ParticleIndexes &reset_pis) const
Apply a SingletonModifier to the contents.
A shared container for Singletons.
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
void apply(const SingletonModifier *sm) const
Apply a SingletonModifier to the contents.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.