IMP  2.1.1
The Integrative Modeling Platform
kernel/singleton_macros.h File Reference

Macros for various classes. More...

#include "internal/TupleRestraint.h"
#include "internal/functors.h"
#include "container_macros.h"
#include <IMP/base/object_macros.h>
#include "input_output_macros.h"
#include <algorithm>
+ Include dependency graph for kernel/singleton_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_SINGLETON_CONTAINER(Name)   IMP_SINGLETON_CONTAINER(name)
 
#define IMP_COMPOSITE_SINGLETON_SCORE(Name)
 
#define IMP_FOREACH_SINGLETON(sequence, operation)
 
#define IMP_FOREACH_SINGLETON_INDEX(sequence, operation)
 
#define IMP_INDEX_SINGLETON_DERIVATIVE_MODIFIER(Name)   IMP_INDEX_SINGLETON_MODIFIER(Name)
 Use IMP_INDEX_SINGLETON_MODIFIER instead.
 
#define IMP_INDEX_SINGLETON_MODIFIER(Name)
 
#define IMP_INDEX_SINGLETON_PREDICATE(Name, return_value, return_inputs)
 
#define IMP_INDEX_SINGLETON_SCORE(Name)
 
#define IMP_SIMPLE_SINGLETON_SCORE(Name)
 
#define IMP_SINGLETON_CONTAINER(Name)
 
#define IMP_SINGLETON_CONTAINER_METHODS(Name)
 
#define IMP_SINGLETON_DERIVATIVE_MODIFIER(Name)   IMP_SINGLETON_MODIFIER(Name)
 Use IMP_SINGLETON_MODIFIER() instead.
 
#define IMP_SINGLETON_MODIFIER(Name)
 
#define IMP_SINGLETON_MODIFIER_METHODS(Name)
 
#define IMP_SINGLETON_PREDICATE(Name)
 
#define IMP_SINGLETON_PREDICATE_METHODS(Name)
 Define extra the functions needed for a SingletonPredicate.
 
#define IMP_SINGLETON_SCORE(Name)
 
#define IMP_SINGLETON_SCORE_METHODS(Name)
 

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/singleton_macros.h.

Macro Definition Documentation

#define IMP_ACTIVE_SINGLETON_CONTAINER (   Name)    IMP_SINGLETON_CONTAINER(name)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Declare the methods directly and use IMP_SINGLETON_CONTAINER_METHODS

Definition at line 421 of file kernel/singleton_macros.h.

#define IMP_COMPOSITE_SINGLETON_SCORE (   Name)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Do it yourself.

Definition at line 72 of file kernel/singleton_macros.h.

#define IMP_FOREACH_SINGLETON (   sequence,
  operation 
)

Use IMP_CONTAINER_FOREACH() instead.

Definition at line 426 of file kernel/singleton_macros.h.

#define IMP_FOREACH_SINGLETON_INDEX (   sequence,
  operation 
)
Value:
IMPKERNEL_DEPRECATED_MACRO(2.1, "Use IMP_CONTAINER_FOREACH instead"); \
IMP::kernel::SingletonContainer SingletonContainer
#define IMP_CONTAINER_FOREACH(ContainerType, container, operation)

Use IMP_CONTAINER_FOREACH() instead.

Definition at line 443 of file kernel/singleton_macros.h.

#define IMP_INDEX_SINGLETON_MODIFIER (   Name)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Declare methods yourself and use IMP_SINGLETON_MODIFIER_METHODS to fill in the rest.

Definition at line 352 of file kernel/singleton_macros.h.

#define IMP_INDEX_SINGLETON_PREDICATE (   Name,
  return_value,
  return_inputs 
)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Declare methods yourself and use IMP_SINGLETON_PREDICATE_METHODS to fill in the rest.

Definition at line 268 of file kernel/singleton_macros.h.

#define IMP_INDEX_SINGLETON_SCORE (   Name)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Declare methods youself and use IMP_SINGLETON_SCORE_METHODS() to fill in the rest.

Definition at line 150 of file kernel/singleton_macros.h.

#define IMP_SIMPLE_SINGLETON_SCORE (   Name)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Declare methods youself and use IMP_SINGLETON_SCORE_METHODS() to fill in the rest.

Definition at line 48 of file kernel/singleton_macros.h.

#define IMP_SINGLETON_CONTAINER (   Name)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Declare the methods directly and use IMP_SINGLETON_CONTAINER_METHODS

Definition at line 401 of file kernel/singleton_macros.h.

#define IMP_SINGLETON_CONTAINER_METHODS (   Name)
Value:
void do_apply(const SingletonModifier *sm) const { \
apply_generic(sm); \
}
IMP::kernel::SingletonModifier SingletonModifier

Use this to fill in container methods IMP::kernel::SingletonContainer::do_apply()

Definition at line 392 of file kernel/singleton_macros.h.

#define IMP_SINGLETON_MODIFIER (   Name)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Declare methods yourself and use IMP_SINGLETON_MODIFIER_METHODS to fill in the rest.

Definition at line 318 of file kernel/singleton_macros.h.

#define IMP_SINGLETON_MODIFIER_METHODS (   Name)
#define IMP_SINGLETON_PREDICATE (   Name)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Use IMP_SINGLETON_PREDICATE_METHODS instead and declare the methods you implement.

Definition at line 199 of file kernel/singleton_macros.h.

#define IMP_SINGLETON_SCORE (   Name)
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Declare methods youself and use IMP_SINGLETON_SCORE_METHODS() to fill in the rest.

Definition at line 25 of file kernel/singleton_macros.h.

#define IMP_SINGLETON_SCORE_METHODS (   Name)