IMP  2.4.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-2015 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/kernel/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())
Various important functionality for implementing decorators.
Constraint * create_constraint(Before *b, After *a, const typename Before::Argument &t, std::string name=std::string())