IMP Reference Guide
2.20.1
The Integrative Modeling Platform
|
Various important macros for implementing decorators. More...
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.