|
IMP Reference Guide
develop.169ea894ba,2025/11/01
The Integrative Modeling Platform
|
Various important macros for implementing decorators. More...
Include dependency graph for distance_pair_score_macros.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | IMP_FUNCTOR_DISTANCE_PAIR_SCORE(Name, Functor, Args, PassArgs) |
Various important macros for implementing decorators.
Copyright 2007-2022 IMP Inventors. All rights reserved.
Definition in file distance_pair_score_macros.h.
| #define IMP_FUNCTOR_DISTANCE_PAIR_SCORE | ( | Name, | |
| Functor, | |||
| Args, | |||
| PassArgs | |||
| ) |
Use this macro to define PairScores based on the IMP::score_functor::DistancePairScore as it works around various complications caused by SWIG.
To use it do something like IMP_FUNCTOR_DISTANCE_PAIR_SCORE(DistancePairScore, score_functor::UnaryFunctionEvaluate, (UnaryFunction *uf, std::string name = "DistancePairScore%1%"), (uf));
Definition at line 28 of file distance_pair_score_macros.h.