9 #ifndef IMPEM2D_DUMMY_RESTRAINT_H
10 #define IMPEM2D_DUMMY_RESTRAINT_H
12 #include "IMP/em2d/em2d_config.h"
21 IMPEM2D_BEGIN_NAMESPACE
44 : kernel::
Restraint(p->get_model(),
"DummyRestraint%1%") {
53 void show(std::ostream &out = std::cout)
const {
54 out <<
"Dummy kernel::Restraint" << std::endl;
74 : kernel::Restraint(sc->get_model(),
"ParticlesDummyRestraint%1%") {
82 void show(std::ostream &out = std::cout)
const {
83 out <<
"ParticlesDummyRestraint" << std::endl;
Class for adding derivatives from restraints to the model.
Import IMP/kernel/SingletonContainer.h in the namespace.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A smart pointer to a reference counted object.
Dummy restraint for a set of particles. Same use as DummyRestraint.
void show(std::ostream &out=std::cout) const
Abstract base class for all restraints.
A restraint is a term in an IMP ScoringFunction.
Class to handle individual model particles.
Dummy restraint between two particles.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
void show(std::ostream &out=std::cout) const
A nullptr-initialized pointer to an IMP Object.
ParticlesDummyRestraint(SingletonContainer *sc)
virtual ModelObjectsTemp do_get_inputs() const =0
Logging and error reporting support.
A shared container for Singletons.
DummyRestraint(IMP::kernel::Particle *p, IMP::kernel::Particle *q)
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.