13 #ifndef IMPCONTAINER_TRIPLETS_CONSTRAINT_H
14 #define IMPCONTAINER_TRIPLETS_CONSTRAINT_H
16 #include <IMP/container/container_config.h>
21 #include <IMP/kernel/internal/ContainerConstraint.h>
23 IMPKERNEL_BEGIN_NAMESPACE
27 IMPKERNEL_END_NAMESPACE
29 IMPCONTAINER_BEGIN_NAMESPACE
40 #if defined(SWIG) || defined(IMP_DOXYGEN)
43 public IMP::kernel::internal::ContainerConstraint<
44 TripletModifier, TripletModifier, TripletContainer>
47 typedef IMP::kernel::internal::ContainerConstraint<
59 TripletContainerAdaptor c,
60 std::string name =
"TripletConstraint %1%")
61 : P(before, after, c, name) {}
62 #if defined(IMP_DOXYGEN) || defined(SWIG)
64 void do_update_attributes();
74 IMPCONTAINER_END_NAMESPACE
Various general useful macros for IMP.
A shared container for Triplets.
Class for adding derivatives from restraints to the model.
A base class for modifiers of kernel::ParticleTripletsTemp.
Import IMP/kernel/TripletContainer.h in the namespace.
IMP::kernel::TripletContainer TripletContainer
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
IMP::kernel::TripletModifier TripletModifier
Import IMP/kernel/Constraint.h in the namespace.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Apply a TripletFunction to a TripletContainer to maintain an invariant.
Implement a constraint on the Model.
TripletsConstraint(TripletModifier *before, TripletModifier *after, TripletContainerAdaptor c, std::string name="TripletConstraint %1%")
Import IMP/kernel/TripletModifier.h in the namespace.