IMP  2.1.0
The Integrative Modeling Platform
close_pairs_finder_macros.h
Go to the documentation of this file.
1 /**
2  * \file IMP/core/close_pairs_finder_macros.h
3  * \brief Various important macros
4  * for implementing decorators.
5  *
6  * Copyright 2007-2013 IMP Inventors. All rights reserved.
7  *
8  */
9 
10 #ifndef IMPCORE_CLOSE_PAIRS_FINDER_MACROS_H
11 #define IMPCORE_CLOSE_PAIRS_FINDER_MACROS_H
12 
13 #include "ClosePairsFinder.h"
15 #include <IMP/base/object_macros.h>
16 
17 /** \deprecated_at{2.1} Declare the methods yourself.
18  */
19 #define IMP_CLOSE_PAIRS_FINDER(Name) \
20  IMPCORE_DEPRECATED_MACRO(2.1, "Declare the methods directly."); \
21  virtual kernel::ParticlePairsTemp get_close_pairs( \
22  const kernel::ParticlesTemp &pa) const IMP_OVERRIDE; \
23  virtual kernel::ParticlePairsTemp get_close_pairs( \
24  const kernel::ParticlesTemp &pa, const kernel::ParticlesTemp &pb) const \
25  IMP_OVERRIDE; \
26  virtual IntPairs get_close_pairs(const algebra::BoundingBox3Ds &bbs) const \
27  IMP_OVERRIDE; \
28  virtual IntPairs get_close_pairs(const algebra::BoundingBox3Ds &bas, \
29  const algebra::BoundingBox3Ds &bbs) const \
30  IMP_OVERRIDE; \
31  using ClosePairsFinder::get_close_pairs; \
32  virtual kernel::ModelObjectsTemp do_get_inputs( \
33  kernel::Model *m, const kernel::ParticleIndexes &pis) const \
34  IMP_OVERRIDE; \
35  IMP_OBJECT_METHODS(Name)
36 
37 #endif /* IMPCORE_CLOSE_PAIRS_FINDER_MACROS_H */
Various general useful macros for IMP.
A base class for algorithms to detect proximities.
Various general useful macros for IMP.