IMP  2.1.1
The Integrative Modeling Platform
embedding_macros.h
Go to the documentation of this file.
1 /**
2  * \file IMP/statistics/embedding_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_EMBEDDING_MACROS_H
10 #define IMPSTATISTICS_EMBEDDING_MACROS_H
11 
12 #include "Embedding.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, just declare the methods
18 #define IMP_EMBEDDING(Name) \
19  IMP_DEPRECATED_MACRO(2.1, \
20  "Don't use the macro, simple declare the methods.") \
21  algebra::VectorKD get_point(unsigned int i) const IMP_OVERRIDE; \
22  unsigned int get_number_of_items() const IMP_OVERRIDE; \
23  IMP_OBJECT_NO_WARNING(Name)
24 
25 #endif /* IMPSTATISTICS_EMBEDDING_MACROS_H */
Various general useful macros for IMP.
Cluster sets of points.