IMP
2.1.1
The Integrative Modeling Platform
IMP Mainpage
All IMP Modules
Related Pages
Modules
Namespaces
Classes
Files
Examples
Indexes
File List
File Members
metric_macros.h
Go to the documentation of this file.
1
/**
2
* \file IMP/statistics/metric_macros.h \brief Various important macros
3
* for implementing decorators.
4
*
5
* Copyright 2007-2013 IMP Inventors. All rights reserved.
6
*
7
*/
8
9
#ifndef IMPSTATISTICS_METRIC_MACROS_H
10
#define IMPSTATISTICS_METRIC_MACROS_H
11
12
#include "
Metric.h
"
13
#include <
IMP/base/object_macros.h
>
14
15
IMPSTATISTICS_DEPRECATED_HEADER(2.1,
"It is not needed any more"
)
16
17
//! Don't use the macro
18
#define IMP_METRIC(Name) \
19
IMP_DEPRECATED_MACRO( \
20
2.1, "Don't use the macro, simple declare the methods.") double \
21
get_distance(unsigned int i, unsigned int j) const IMP_OVERRIDE; \
22
unsigned int get_number_of_items() const IMP_OVERRIDE; \
23
IMP_OBJECT_NO_WARNING(Name)
24
25
#endif
/* IMPSTATISTICS_METRIC_MACROS_H */
object_macros.h
Various general useful macros for IMP.
Metric.h
Cluster sets of points.