IMP  2.0.1
The Integrative Modeling Platform
kernel/quad_macros.h File Reference

Macros for various classes. More...

#include "internal/TupleRestraint.h"
#include "internal/functors.h"
#include "container_macros.h"
#include "input_output_macros.h"
#include <algorithm>
+ Include dependency graph for kernel/quad_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_QUAD_CONTAINER(Name)   IMP_QUAD_CONTAINER(name)
 Declare the needed functions for an active QuadContainer. More...
 
#define IMP_COMPOSITE_QUAD_SCORE(Name)
 Declare the functions needed for a complex QuadScore. More...
 
#define IMP_FOREACH_QUAD(sequence, operation)
 
#define IMP_FOREACH_QUAD_INDEX(sequence, operation)   IMP_CONTAINER_FOREACH(QuadContainer, sequence, operation)
 
#define IMP_INDEX_QUAD_DERIVATIVE_MODIFIER(Name)   IMP_INDEX_QUAD_MODIFIER(Name)
 Use IMP_INDEX_QUAD_MODIFIER instead.
 
#define IMP_INDEX_QUAD_MODIFIER(Name)
 Declare the functions needed for a QuadModifier. More...
 
#define IMP_INDEX_QUAD_PREDICATE(Name, return_value, return_inputs)
 Declare the functions needed for a QuadPredicate. More...
 
#define IMP_INDEX_QUAD_SCORE(Name)
 Declare the functions needed for a complex QuadScore. More...
 
#define IMP_QUAD_CONTAINER(Name)
 Declare the needed functions for a QuadContainer. More...
 
#define IMP_QUAD_DERIVATIVE_MODIFIER(Name)   IMP_QUAD_MODIFIER(Name)
 Use IMP_QUAD_MODIFIER() instead.
 
#define IMP_QUAD_MODIFIER(Name)
 Declare the functions needed for a QuadModifier. More...
 
#define IMP_QUAD_PREDICATE(Name)
 Declare the functions needed for a QuadPredicate. More...
 
#define IMP_QUAD_SCORE(Name)
 Declare the functions needed for a QuadScore. More...
 
#define IMP_SIMPLE_QUAD_SCORE(Name)
 Declare the functions needed for a QuadScore. More...
 

Detailed Description

This file is generated by a script (core/tools/make-containers). Do not edit directly.

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file kernel/quad_macros.h.

Macro Definition Documentation

#define IMP_ACTIVE_QUAD_CONTAINER (   Name)    IMP_QUAD_CONTAINER(name)

In addition to the methods of IMP_QUAD_CONTAINER(), it declares

Definition at line 381 of file kernel/quad_macros.h.

#define IMP_COMPOSITE_QUAD_SCORE (   Name)
#define IMP_FOREACH_QUAD (   sequence,
  operation 
)

Use IMP_CONTAINER_FOREACH() instead.

Definition at line 386 of file kernel/quad_macros.h.

#define IMP_FOREACH_QUAD_INDEX (   sequence,
  operation 
)    IMP_CONTAINER_FOREACH(QuadContainer, sequence, operation)

Use IMP_CONTAINER_FOREACH() instead.

Definition at line 402 of file kernel/quad_macros.h.

#define IMP_INDEX_QUAD_MODIFIER (   Name)

In addition to the methods done by IMP_OBJECT, it declares

Definition at line 301 of file kernel/quad_macros.h.

#define IMP_INDEX_QUAD_PREDICATE (   Name,
  return_value,
  return_inputs 
)

In addition to the methods done by IMP_OBJECT, it defines

Definition at line 224 of file kernel/quad_macros.h.

#define IMP_INDEX_QUAD_SCORE (   Name)

In addition to the methods done by IMP_OBJECT(), it declares

Definition at line 133 of file kernel/quad_macros.h.

#define IMP_QUAD_CONTAINER (   Name)
In addition to the methods of IMP_OBJECT, it declares
- IMP::QuadContainer::get_number_of_particle_particle_quads()
- IMP::QuadContainer::get_particle_particle_quad()
- IMP::QuadContainer::apply()
- IMP::QuadContainer::evaluate()
- IMP::Interaction::get_input_objects()

You need to define a template method with the signature
template <class Functor>
Functor for_each(Functor f);

that applied the functor to each thing in the container.

Definition at line 360 of file kernel/quad_macros.h.

#define IMP_QUAD_MODIFIER (   Name)

In addition to the methods done by IMP_OBJECT, it declares

Definition at line 280 of file kernel/quad_macros.h.

#define IMP_QUAD_PREDICATE (   Name)

In addition to the methods done by IMP_OBJECT, it declares

Definition at line 190 of file kernel/quad_macros.h.

#define IMP_QUAD_SCORE (   Name)

In addition to the methods done by IMP_INTERACTON, it declares

See IMP_SIMPLE_QUAD_SCORE() for a way of providing an implementation of that method.

Definition at line 31 of file kernel/quad_macros.h.

#define IMP_SIMPLE_QUAD_SCORE (   Name)

In addition to the methods declared and defined by IMP_QUAD_SCORE, the macro provides an implementation of

Definition at line 57 of file kernel/quad_macros.h.