13 #ifndef IMPCORE_SINGLETON_CONSTRAINT_H
14 #define IMPCORE_SINGLETON_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<SingletonModifier,
38 SingletonDerivativeModifier>
42 friend class cereal::access;
43 template<
class Archive>
void serialize(Archive &ar) {
44 ar(cereal::base_class<
54 std::string name =
"SingletonConstraint %1%",
56 : IMP::internal::TupleConstraint<
63 #if defined(IMP_DOXYGEN) || defined(SWIG)
65 void do_update_attributes();
A base class for modifiers of ParticlesTemp.
A Modifier on ParticlesTemp.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Apply a SingletonFunction to a Singleton.
A more IMP-like version of the std::vector.
Implement a constraint on the Model.
Class for storing model, its restraints, constraints, and particles.
A Modifier on ParticlesTemp.
#define IMP_OBJECT_SERIALIZE_DECL(Name)
Declare methods needed for serialization of Object pointers.
Class for adding derivatives from restraints to the model.