9 #ifndef IMPCONTAINER_GENERIC_H
10 #define IMPCONTAINER_GENERIC_H
12 #include <IMP/container/container_config.h>
13 #include <IMP/internal/ContainerRestraint.h>
14 #include <IMP/internal/ContainerConstraint.h>
17 IMPCONTAINER_BEGIN_NAMESPACE
23 template <
class Score,
class Container>
25 std::string name=std::string()) {
26 return IMP::internal::create_container_restraint(s, c, name);
33 template <
class Container,
class Before,
class After>
35 std::string name=std::string()) {
36 return IMP::internal::create_container_constraint(c, b, a, name);
44 template <
class Container>
53 IMPCONTAINER_END_NAMESPACE