IMP  2.0.0
The Integrative Modeling Platform
kernel/refiner_macros.h File Reference

Various general useful macros for IMP. More...

#include <IMP/kernel/kernel_config.h>
#include "Refiner.h"
#include "container_base.h"
#include <IMP/base/object_macros.h>
+ Include dependency graph for kernel/refiner_macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IMP_REFINER(Name)
 Define the basics needed for a particle refiner. More...
 
#define IMP_SIMPLE_REFINER(Name)
 Define the basics needed for a particle refiner. More...
 
#define IMP_SINGLETON_MODIFIER_FROM_REFINED(Name, refiner)
 Add interaction methods to a SingletonModifer. More...
 
#define IMP_SINGLETON_MODIFIER_TO_REFINED(Name, refiner)
 Add interaction methods to a SingletonModifer. More...
 

Detailed Description

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file kernel/refiner_macros.h.

Macro Definition Documentation

#define IMP_REFINER (   Name)
#define IMP_SIMPLE_REFINER (   Name)

In contrast to IMP_REFINER, if this macro is used, the Refiner::get_refined(Particle*) method is implemented using the other Refiner::get_refined() method and so does not have to be provided.

See Also
IMP_REFINER

Definition at line 43 of file kernel/refiner_macros.h.

#define IMP_SINGLETON_MODIFIER_FROM_REFINED (   Name,
  refiner 
)

This macro is designed to be used in conjunction with IMP_SINGLETON_MODIFIER or IMP_SINGLETON_MODIFIER_DA. It adds definitions for the methods:

Definition at line 74 of file kernel/refiner_macros.h.

#define IMP_SINGLETON_MODIFIER_TO_REFINED (   Name,
  refiner 
)

This macro is designed to be used in conjunction with IMP_SINGLETON_MODIFIER or IMP_SINGLETON_MODIFIER_DA. It adds definitions for the methods:

This macro should appear in a .cpp file.

Definition at line 108 of file kernel/refiner_macros.h.