9#ifndef IMPEXAMPLE_EXAMPLE_SINGLETON_MODIFIER_H
10#define IMPEXAMPLE_EXAMPLE_SINGLETON_MODIFIER_H
12#include <IMP/example/example_config.h>
16#include <cereal/access.hpp>
17#include <cereal/types/base_class.hpp>
19IMPEXAMPLE_BEGIN_NAMESPACE
35class IMPEXAMPLEEXPORT ExampleSingletonModifier :
public SingletonModifier {
38 friend class cereal::access;
39 template<
class Archive>
void serialize(Archive &ar) {
40 ar(cereal::base_class<SingletonModifier>(
this), bb_);
46 ExampleSingletonModifier() {}
61IMPEXAMPLE_END_NAMESPACE
A bounding box in D dimensions.
A Modifier on ParticlesTemp.
Class for storing model, its restraints, constraints, and particles.
An axis-aligned bounding box.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const override
Overload this method to specify the inputs.
virtual void apply_index(Model *m, ParticleIndex p) const override
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const override
Overload this method to specify the outputs.
Index< ParticleIndexTag > ParticleIndex
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_OBJECT_SERIALIZE_DECL(Name)
Declare methods needed for serialization of Object pointers.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Macros for various classes.
#define IMP_SINGLETON_MODIFIER_METHODS(Name)