11 #ifndef IMPCONTAINER_SINGLETON_CONTAINER_SET_H
12 #define IMPCONTAINER_SINGLETON_CONTAINER_SET_H
14 #include <IMP/container/container_config.h>
17 #include <IMP/kernel/internal/container_helpers.h>
20 IMPCONTAINER_BEGIN_NAMESPACE
33 virtual std::size_t do_get_contents_hash()
const IMP_OVERRIDE;
38 std::string name =
"SingletonContainerSet %1%");
41 std::string name =
"SingletonContainerSet %1%");
61 singleton_container, singleton_containers,
64 obj->set_was_used(
true);
77 IMPCONTAINER_END_NAMESPACE
void apply_generic(const M *m) const
apply modifer sm to all singleton containers
Import IMP/kernel/scoped.h in the namespace.
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
Import IMP/kernel/SingletonContainer.h in the namespace.
Stores a set of SingletonContainers.
Import IMP/kernel/container_macros.h in the namespace.
A base class for modifiers of kernel::ParticlesTemp.
#define IMP_IMPLEMENT(signature)
virtual kernel::ParticleIndexes get_range_indexes() const =0
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual kernel::ParticleIndexes get_indexes() const =0
virtual ModelObjectsTemp do_get_inputs() const =0
IMP::base::Vector< IMP::base::WeakPointer< SingletonContainer > > SingletonContainersTemp
void apply(const SingletonModifier *sm) const
Apply a SingletonModifier to the contents.
IMP::base::Vector< IMP::base::Pointer< SingletonContainer > > SingletonContainers
A shared container for Singletons.
Class for storing model, its restraints, constraints, and particles.