IMP logo
IMP Reference Guide  2.11.0
The Integrative Modeling Platform
surface_distance_pair_score_macros.h File Reference

Various important macros for implementing decorators. More...

+ Include dependency graph for surface_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_SURFACE_DISTANCE_PAIR_SCORE(Name, PName, Functor, Args, PassArgs)
 

Detailed Description

Various important macros for implementing decorators.

Copyright 2007-2019 IMP Inventors. All rights reserved.

Definition in file surface_distance_pair_score_macros.h.

Macro Definition Documentation

#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.