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%");
62 singleton_container, singleton_containers,
65 obj->set_was_used(
true);
78 IMPCONTAINER_END_NAMESPACE
A base class for modifiers of ParticlesTemp.
void apply_generic(const M *m) const
apply modifer sm to all singleton containers
Various general useful functions for IMP.
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.
virtual ParticleIndexes get_range_indexes() const =0
#define IMP_IMPLEMENT(signature)
Macros to define containers of objects.
Class for storing model, its restraints, constraints, and particles.
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.
virtual ModelObjectsTemp do_get_inputs() const =0
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.