Macros for various classes. More...
Include dependency graph for triplet_macros.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | IMP_ACTIVE_TRIPLET_CONTAINER(Name) IMP_TRIPLET_CONTAINER(name) |
| Declare the needed functions for an active TripletContainer. | |
| #define | IMP_COMPOSITE_TRIPLET_SCORE(Name) |
| Declare the functions needed for a complex TripletScore. | |
| #define | IMP_FOREACH_TRIPLET(sequence, operation) |
| #define | IMP_FOREACH_TRIPLET_INDEX(sequence, operation) |
| #define | IMP_IMPLEMENT_TRIPLET_CONTAINER_OPERATIONS(Name, LOOP) |
| #define | IMP_INDEX_TRIPLET_DERIVATIVE_MODIFIER(Name) |
| Declare the functions needed for a TripletModifier. | |
| #define | IMP_INDEX_TRIPLET_MODIFIER(Name) |
| Declare the functions needed for a TripletModifier. | |
| #define | IMP_INDEX_TRIPLET_PREDICATE(Name, gv) |
| Declare the functions needed for a TripletPredicate. | |
| #define | IMP_INDEX_TRIPLET_SCORE(Name) |
| Declare the functions needed for a complex TripletScore. | |
| #define | IMP_SIMPLE_TRIPLET_SCORE(Name) |
| Declare the functions needed for a TripletScore. | |
| #define | IMP_TRIPLET_CONTAINER(Name) |
| Declare the needed functions for a TripletContainer. | |
| #define | IMP_TRIPLET_DERIVATIVE_MODIFIER(Name) |
| Declare the functions needed for a TripletModifier. | |
| #define | IMP_TRIPLET_MODIFIER(Name) |
| Declare the functions needed for a TripletModifier. | |
| #define | IMP_TRIPLET_PREDICATE(Name) |
| Declare the functions needed for a TripletPredicate. | |
| #define | IMP_TRIPLET_SCORE(Name) |
| Declare the functions needed for a TripletScore. | |
| #define | IMP_TRIPLET_SCORE_BASE(Name) |
Macros for various classes.
This file is generated by a script (core/tools/make-containers). Do not edit directly.
Copyright 2007-2012 IMP Inventors. All rights reserved.
| #define IMP_ACTIVE_TRIPLET_CONTAINER | ( | Name | ) | IMP_TRIPLET_CONTAINER(name) |
Declare the needed functions for an active TripletContainer.
In addition to the methods of IMP_TRIPLET_CONTAINER(), it declares
| #define IMP_COMPOSITE_TRIPLET_SCORE | ( | Name | ) |
Declare the functions needed for a complex TripletScore.
In addition to the methods done by IMP_OBJECT(), it declares
| #define IMP_FOREACH_TRIPLET | ( | sequence, | |
| operation | |||
| ) |
These macros avoid various inefficiencies.
The macros take the name of the sequence and the operation to peform. The item in the sequence is called _1, it's index is _2. Use it like
| #define IMP_FOREACH_TRIPLET_INDEX | ( | sequence, | |
| operation | |||
| ) |
These macros avoid various inefficiencies.
The macros take the name of the sequence and the operation to peform. The item in the sequence is called _1, it's index is _2. Use it like
| #define IMP_IMPLEMENT_TRIPLET_CONTAINER_OPERATIONS | ( | Name, | |
| LOOP | |||
| ) |
Implement the needed template functions for a container.
| [in] | Name | the name |
| [in] | LOOP | do the loop. There should be a line IMP_OPERATION and the current item should be in a variable named item at that time. |
| #define IMP_INDEX_TRIPLET_DERIVATIVE_MODIFIER | ( | Name | ) |
Declare the functions needed for a TripletModifier.
In addition to the methods done by IMP_OBJECT, it declares
| #define IMP_INDEX_TRIPLET_MODIFIER | ( | Name | ) |
Declare the functions needed for a TripletModifier.
In addition to the methods done by IMP_OBJECT, it declares
| #define IMP_INDEX_TRIPLET_PREDICATE | ( | Name, | |
| gv | |||
| ) |
Declare the functions needed for a TripletPredicate.
In addition to the methods done by IMP_OBJECT, it declares
| #define IMP_INDEX_TRIPLET_SCORE | ( | Name | ) |
Declare the functions needed for a complex TripletScore.
In addition to the methods done by IMP_OBJECT(), it declares
| #define IMP_SIMPLE_TRIPLET_SCORE | ( | Name | ) |
Declare the functions needed for a TripletScore.
In addition to the methods declared and defined by IMP_TRIPLET_SCORE, the macro provides an implementation of
| #define IMP_TRIPLET_CONTAINER | ( | Name | ) |
Declare the needed functions for a TripletContainer.
In addition to the methods of IMP_OBJECT, it declares
| #define IMP_TRIPLET_DERIVATIVE_MODIFIER | ( | Name | ) |
Declare the functions needed for a TripletModifier.
In addition to the methods done by IMP_OBJECT, it declares
| #define IMP_TRIPLET_MODIFIER | ( | Name | ) |
Declare the functions needed for a TripletModifier.
In addition to the methods done by IMP_OBJECT, it declares
| #define IMP_TRIPLET_PREDICATE | ( | Name | ) |
Declare the functions needed for a TripletPredicate.
In addition to the methods done by IMP_OBJECT, it declares
| #define IMP_TRIPLET_SCORE | ( | Name | ) |
Declare the functions needed for a TripletScore.
In addition to the methods done by IMP_INTERACTON, it declares
See IMP_SIMPLE_TRIPLET_SCORE() for a way of providing an implementation of that method.