IMP logo
IMP Reference Guide  2.14.0
The Integrative Modeling Platform
core/generic.h
Go to the documentation of this file.
1 /**
2  * \file IMP/core/generic.h \brief Various important functionality
3  * for implementing decorators.
4  *
5  * Copyright 2007-2020 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPCORE_GENERIC_H
10 #define IMPCORE_GENERIC_H
11 
12 #include <IMP/core/core_config.h>
13 #include <IMP/generic.h>
14 
15 IMPKERNEL_BEGIN_NAMESPACE
16 /** A Python version of this is provided, but it produces a slightly less
17  efficient restraint. */
20 
21 IMPKERNEL_END_NAMESPACE
22 
23 #endif /* IMPCORE_GENERIC_H */
Restraint * create_restraint(Score *s, const typename Score::Argument &t, std::string name=std::string())
Definition: generic.h:36
Constraint * create_constraint(Before *b, After *a, const typename Before::Argument &t, std::string name=std::string())
Definition: generic.h:63
Various important functionality for implementing decorators.