IMP  2.1.1
The Integrative Modeling Platform
clustering_macros.h
Go to the documentation of this file.
1 /**
2  * \file IMP/statistics/clustering_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_CLUSTERING_MACROS_H
10 #define IMPSTATISTICS_CLUSTERING_MACROS_H
11 
12 #include "embedding_macros.h"
13 #include <IMP/base/object_macros.h>
14 
15 IMPSTATISTICS_DEPRECATED_HEADER(2.1, "It is not needed any more")
16 
17 //! \deprecated_at{2.1} Do not use any more
18 #define IMP_CLUSTERING(Name) \
19  IMP_DEPRECATED_MACROS( \
20  2.1, "Don't use the macro, simple declare the methods.") unsigned int \
21  get_number_of_clusters() const; \
22  const Ints& get_cluster(unsigned int i) const; \
23  int get_cluster_representative(unsigned int i) const; \
24  IMP_OBJECT_NO_WARNING(Name)
25 
26 #endif /* IMPSTATISTICS_CLUSTERING_MACROS_H */
Various important macros for implementing decorators.
Various general useful macros for IMP.