IMP Reference Guide
2.10.1
The Integrative Modeling Platform
|
Various important macros for implementing decorators. More...
#include "SurfaceDistancePairScore.h"
Go to the source code of this file.
Macros | |
#define | IMP_FUNCTOR_SURFACE_DISTANCE_PAIR_SCORE(Name, PName, Functor, Args, PassArgs) |
Various important macros for implementing decorators.
Copyright 2007-2018 IMP Inventors. All rights reserved.
Definition in file surface_distance_pair_score_macros.h.
#define IMP_FUNCTOR_SURFACE_DISTANCE_PAIR_SCORE | ( | Name, | |
PName, | |||
Functor, | |||
Args, | |||
PassArgs | |||
) |
Use this macro to define PairScores based on the IMP::score_functor::SurfaceDistancePairScore as it works around various complications caused by SWIG.
To use it do something like IMP_FUNCTOR_SURFACE_DISTANCE_PAIR_SCORE(SurfaceDistancePairScore, SurfaceDistancePairScore, score_functor::UnaryFunctionEvaluate, (UnaryFunction *uf, std::string name = "SurfaceDistancePairScore%1%"), (uf));
Definition at line 26 of file surface_distance_pair_score_macros.h.