IMP  2.3.1
The Integrative Modeling Platform
BondEndpointsRefiner.h
Go to the documentation of this file.
1 /**
2  * \file IMP/atom/BondEndpointsRefiner.h
3  * \brief Return the endpoints of a bond.
4  *
5  * Copyright 2007-2014 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPATOM_BOND_ENDPOINTS_REFINER_H
9 #define IMPATOM_BOND_ENDPOINTS_REFINER_H
10 
11 #include <IMP/atom/atom_config.h>
12 #include <IMP/Refiner.h>
13 
14 IMPATOM_BEGIN_NAMESPACE
15 
16 //! Return the endpoints of a bond.
17 /**
18  \ingroup bond
19  \see Bond
20  */
21 class IMPATOMEXPORT BondEndpointsRefiner : public Refiner {
22  public:
23  //! no arguments
25 
26  virtual bool get_can_refine(kernel::Particle *) const IMP_OVERRIDE;
29 #ifndef SWIG
31 #endif
35 };
36 
38 
39 IMPATOM_END_NAMESPACE
40 
41 #endif /* IMPATOM_BOND_ENDPOINTS_REFINER_H */
virtual const ParticlesTemp get_refined(Particle *a) const =0
Refine the passed particle into a set of particles.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Definition: object_macros.h:25
virtual bool get_can_refine(Particle *) const
Return true if this refiner can refine that particle.
Import IMP/kernel/Refiner.h in the namespace.
virtual ModelObjectsTemp do_get_inputs(kernel::Model *m, const ParticleIndexes &pis) const
Class to handle individual model particles.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Definition: object_macros.h:52
Return the endpoints of a bond.
Abstract class to implement hierarchical methods.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Class for storing model, its restraints, constraints, and particles.
Definition: kernel/Model.h:73