13 #ifndef IMPCORE_QUAD_CONSTRAINT_H
14 #define IMPCORE_QUAD_CONSTRAINT_H
16 #include <IMP/core/core_config.h>
17 #include <IMP/internal/TupleConstraint.h>
20 #include <cereal/access.hpp>
21 #include <cereal/types/base_class.hpp>
23 IMPCORE_BEGIN_NAMESPACE
34 #if defined(IMP_DOXYGEN) || defined(SWIG)
37 public IMP::internal::TupleConstraint<QuadModifier,
38 QuadDerivativeModifier>
43 friend class cereal::access;
44 template<
class Archive>
void serialize(Archive &ar) {
45 ar(cereal::base_class<
55 std::string name =
"QuadConstraint %1%",
57 : IMP::internal::TupleConstraint<
66 return P::get_before_modifier();
69 #if defined(IMP_DOXYGEN) || defined(SWIG)
74 void do_update_attributes();
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A more IMP-like version of the std::vector.
Implement a constraint on the Model.
Class for storing model, its restraints, constraints, and particles.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
A Modifier on ParticleQuadsTemp.
Apply a QuadFunction to a Quad.
#define IMP_OBJECT_SERIALIZE_DECL(Name)
Declare methods needed for serialization of Object pointers.
QuadModifier * get_before_modifier() const
Get the QuadModifier object used in this constraint.
A base class for modifiers of ParticleQuadsTemp.
A Modifier on ParticleQuadsTemp.
Class for adding derivatives from restraints to the model.